Skip to content

Commit f3c1611

Browse files
authored
Merge pull request #9 from scribd/helen/SERF-2483/release-token
[SERF-2483] Use GitHub release token in workflows
2 parents a77e0dc + ca09dc2 commit f3c1611

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
- name: Checkout
1010
uses: actions/checkout@v3
1111
with:
12-
token: ${{ secrets.GITHUB_TOKEN }}
12+
token: ${{ secrets.SCRIBD_GITHUB_RELEASE_TOKEN }}
1313
- name: Run action
1414
uses: ./
1515
with:
@@ -21,7 +21,7 @@ jobs:
2121
- name: Checkout
2222
uses: actions/checkout@v3
2323
with:
24-
token: ${{ secrets.GITHUB_TOKEN }}
24+
token: ${{ secrets.SCRIBD_GITHUB_RELEASE_TOKEN }}
2525
- name: Run action
2626
uses: ./
2727
with:
@@ -34,7 +34,7 @@ jobs:
3434
- name: Checkout
3535
uses: actions/checkout@v3
3636
with:
37-
token: ${{ secrets.GITHUB_TOKEN }}
37+
token: ${{ secrets.SCRIBD_GITHUB_RELEASE_TOKEN }}
3838
- name: Run action
3939
uses: ./
4040
with:
@@ -47,7 +47,7 @@ jobs:
4747
- name: Checkout
4848
uses: actions/checkout@v3
4949
with:
50-
token: ${{ secrets.GITHUB_TOKEN }}
50+
token: ${{ secrets.SCRIBD_GITHUB_RELEASE_TOKEN }}
5151
- name: Run action
5252
uses: ./
5353
with:
@@ -60,7 +60,7 @@ jobs:
6060
steps:
6161
- uses: actions/checkout@v3
6262
with:
63-
token: ${{ secrets.GITHUB_TOKEN }}
63+
token: ${{ secrets.SCRIBD_GITHUB_RELEASE_TOKEN }}
6464
- name: GitHub CODEOWNERS Validator
6565
uses: mszostok/[email protected]
6666
with:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
@semantic-release/[email protected]
2828
@semantic-release/[email protected]
2929
env:
30-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
GITHUB_TOKEN: ${{ secrets.SCRIBD_GITHUB_RELEASE_TOKEN }}
3131

3232
- name: Send notification
3333
if: steps.semantic.outputs.new_release_published == 'true'

0 commit comments

Comments
 (0)