Skip to content

Commit 667cdfc

Browse files
committed
ci: refactor comments and update action in release workflow
Removed redundant "Step" labels in workflow comments for clarity. Also updated 'create-github-release' action to use the latest stable version (v1.0.0-beta.6) instead of 'develop' branch, enhancing reliability and stability of the release workflow.
1 parent 5c5aaa5 commit 667cdfc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ jobs:
1717
contents: write
1818

1919
steps:
20-
# Step 1: Checkout the repository code
20+
# Checkout the repository code
2121
- name: Checkout code
2222
uses: actions/[email protected]
2323
with:
2424
fetch-depth: 0 # Fetches all history for all branches and tags
2525

26-
# Step 2: Generate a changelog for the new release using Git
26+
# Generate a changelog for the new release using Git
2727
- name: Generate a changelog
2828
uses: orhun/[email protected]
2929
id: git-cliff
@@ -33,7 +33,7 @@ jobs:
3333
env:
3434
OUTPUT: CHANGES.md # The output file for the changelog
3535

36-
# Step 3: Prepare release notes by processing the generated changelog
36+
# Prepare release notes by processing the generated changelog
3737
- name: Set the release notes
3838
id: release
3939
shell: bash
@@ -49,9 +49,9 @@ jobs:
4949
echo "EOF"
5050
} >> $GITHUB_OUTPUT
5151
52-
# Step 4: Create a new GitHub release using the gathered information
52+
# Create a new GitHub release using the gathered information
5353
- name: Create the release
54-
uses: nekofar/create-github-release@develop
54+
uses: nekofar/create-github-release@v1.0.0-beta.6
5555
with:
5656
token: ${{ github.token }} # Authentication token from GitHub
5757
tag: ${{ github.ref_name }} # The name of the tag to be released

0 commit comments

Comments
 (0)