-
Notifications
You must be signed in to change notification settings - Fork 346
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(main): auto release node using just
Signed-off-by: cuisongliu <cuisongliu@qq.com>
- Loading branch information
1 parent
08c0a23
commit 8e0c924
Showing
2 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: 🤖 Auto Version Up | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
version: | ||
description: 'Version to release' | ||
required: true | ||
default: '0.3.0' | ||
|
||
jobs: | ||
docs-pull-request: | ||
name: Create Docs Pull Request | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install just | ||
uses: taiki-e/install-action@just | ||
- name: Generator docs | ||
run: | | ||
sudo env PATH=$PATH just version-up ${{ inputs.version }} | ||
- uses: peter-evans/create-pull-request@v5 | ||
with: | ||
title: 'docs: Automated docs Update for ${{ inputs.version }}' | ||
body: | | ||
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action | ||
commit-message: | | ||
🤖 Automatically updates the version numbers in download links within the documentation. | ||
branch: release-note-${{ inputs.version }} | ||
base: main | ||
signoff: true | ||
labels: | | ||
kind/documentation | ||
delete-branch: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters