Skip to content

Commit 1b6fb2f

Browse files
committed
feat: Add GitHub Actions workflow to automate versioning, tagging, and GitHub releases on push to master.
1 parent 46a7019 commit 1b6fb2f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/onPushToMain.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ jobs:
99
release:
1010
runs-on: ubuntu-latest
1111
permissions:
12-
contents: read
1312
id-token: write
13+
contents: write
1414
steps:
1515
- uses: actions/checkout@v6
1616
with:
@@ -59,11 +59,11 @@ jobs:
5959
git push -u origin ${{ github.ref_name }}
6060
fi
6161
- name: Create Github Release
62-
uses: ncipollo/release-action@2c591bcc8ecdcd2db72b97d6147f871fcd833ba5
62+
uses: ncipollo/release-action@v1
6363
if: ${{ steps.version-check.outputs.skipped == 'false' }}
6464
with:
6565
name: ${{ steps.version-check.outputs.tag }}
6666
tag: ${{ steps.version-check.outputs.tag }}
6767
commit: ${{ github.ref_name }}
68-
token: ${{ secrets.GH_TOKEN }}
68+
token: ${{ secrets.GITHUB_TOKEN }}
6969
skipIfReleaseExists: true

0 commit comments

Comments
 (0)