Skip to content

Commit 7f62d19

Browse files
nashifkartben
authored andcommitted
ci: use gh managed tokens in workflows
Do not use custom tokens, rely on GH provided and managed tokens. Signed-off-by: Anas Nashif <[email protected]>
1 parent f812de8 commit 7f62d19

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/assigner.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737

3838
- name: Run assignment script
3939
env:
40-
GITHUB_TOKEN: ${{ secrets.ZB_GITHUB_TOKEN }}
40+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4141
run: |
4242
FLAGS="-v"
4343
FLAGS+=" -o ${{ github.event.repository.owner.login }}"

.github/workflows/backport.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ jobs:
3333
- name: Backport
3434
uses: zephyrproject-rtos/action-backport@7e74f601d11eaca577742445e87775b5651a965f # v2.0.3-3
3535
with:
36-
github_token: ${{ secrets.ZB_GITHUB_TOKEN }}
36+
github_token: ${{ secrets.GITHUB_TOKEN }}
3737
issue_labels: Backport
3838
labels_template: '["Backport"]'

.github/workflows/backport_issue_check.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
3535
- name: Run backport issue checker
3636
env:
37-
GITHUB_TOKEN: ${{ secrets.ZB_GITHUB_TOKEN }}
37+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3838
run: |
3939
./scripts/release/list_backports.py \
4040
-o ${{ github.event.repository.owner.login }} \

.github/workflows/manifest.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Manifest
3434
uses: zephyrproject-rtos/action-manifest@cb8f6fba6f20b5f8649bd573e80a7583a239894c # v1.7.0
3535
with:
36-
github-token: ${{ secrets.ZB_GITHUB_TOKEN }}
36+
github-token: ${{ secrets.GITHUB_TOKEN }}
3737
manifest-path: 'west.yml'
3838
checkout-path: 'zephyrproject/zephyr'
3939
use-tree-checkout: 'true'

0 commit comments

Comments
 (0)