Skip to content

Commit 86c6e75

Browse files
Remove PAT from release workflow (#619)
We don't need to supply a (long-living) PAT during a release, the default token will do. [Example execution](https://github.com/hazelcast/hive/actions/runs/23741791456). --------- Co-authored-by: GitHub Actions Bot <github-actions[bot]@users.noreply.github.com>
1 parent 149d4b5 commit 86c6e75

3 files changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- name: Publish to Chromatic
5050
uses: chromaui/action@v11
5151
with:
52-
token: ${{ secrets.GITHUB_TOKEN }}
52+
token: ${{ github.token }}
5353
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
5454
exitZeroOnChanges: true
5555
workingDir: ./
@@ -69,7 +69,5 @@ jobs:
6969
npm version --preid canary --no-commit-hooks ${{ github.event.inputs.release_type || 'prerelease' }}
7070
git push --no-verify
7171
git push --tags --no-verify
72-
env:
73-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7472
- name: Publish to npm
7573
run: npm publish

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hazelcast/ui",
3-
"version": "3.0.12",
3+
"version": "3.0.13",
44
"description": "Hazelcast design system components and utilities",
55
"homepage": "https://github.com/hazelcast/hive#readme",
66
"bugs": {

0 commit comments

Comments
 (0)