Skip to content

Commit e4bef0b

Browse files
Rohit KumarRohit Kumar
authored andcommitted
chore: add GITHUB_TOKEN fallback for testing in personal fork
Signed-off-by: Rohit Kumar <Rohit.Kumar64@ibm.com>
1 parent 2ea93f2 commit e4bef0b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/create-release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
uses: actions/checkout@v6
1818
with:
1919
fetch-depth: 1
20-
token: ${{ secrets.ADMIN_TOKEN }}
20+
token: ${{ secrets.ADMIN_TOKEN || secrets.GITHUB_TOKEN }}
2121

2222
- name: Setup Node.js
2323
uses: actions/setup-node@v6
@@ -29,7 +29,7 @@ jobs:
2929

3030
- name: Release using semantic-release
3131
env:
32-
GITHUB_TOKEN: ${{ secrets.ADMIN_TOKEN }}
32+
GITHUB_TOKEN: ${{ secrets.ADMIN_TOKEN || secrets.GITHUB_TOKEN }}
3333
GIT_AUTHOR_NAME: secrets.automation.dev
3434
GIT_AUTHOR_EMAIL: secrets.automation.dev@il.ibm.com
3535
GIT_COMMITTER_NAME: secrets.automation.dev

0 commit comments

Comments
 (0)