Browse Source

ci: use gh managed tokens in workflows

Do not use custom tokens, rely on GH provided and managed tokens.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
pull/87660/head
Anas Nashif 4 months ago committed by Benjamin Cabé
parent
commit
7f62d193fc
  1. 2
      .github/workflows/assigner.yml
  2. 2
      .github/workflows/backport.yml
  3. 2
      .github/workflows/backport_issue_check.yml
  4. 2
      .github/workflows/manifest.yml

2
.github/workflows/assigner.yml

@ -37,7 +37,7 @@ jobs:
- name: Run assignment script - name: Run assignment script
env: env:
GITHUB_TOKEN: ${{ secrets.ZB_GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: | run: |
FLAGS="-v" FLAGS="-v"
FLAGS+=" -o ${{ github.event.repository.owner.login }}" FLAGS+=" -o ${{ github.event.repository.owner.login }}"

2
.github/workflows/backport.yml

@ -33,6 +33,6 @@ jobs:
- name: Backport - name: Backport
uses: zephyrproject-rtos/action-backport@7e74f601d11eaca577742445e87775b5651a965f # v2.0.3-3 uses: zephyrproject-rtos/action-backport@7e74f601d11eaca577742445e87775b5651a965f # v2.0.3-3
with: with:
github_token: ${{ secrets.ZB_GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
issue_labels: Backport issue_labels: Backport
labels_template: '["Backport"]' labels_template: '["Backport"]'

2
.github/workflows/backport_issue_check.yml

@ -34,7 +34,7 @@ jobs:
- name: Run backport issue checker - name: Run backport issue checker
env: env:
GITHUB_TOKEN: ${{ secrets.ZB_GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: | run: |
./scripts/release/list_backports.py \ ./scripts/release/list_backports.py \
-o ${{ github.event.repository.owner.login }} \ -o ${{ github.event.repository.owner.login }} \

2
.github/workflows/manifest.yml

@ -33,7 +33,7 @@ jobs:
- name: Manifest - name: Manifest
uses: zephyrproject-rtos/action-manifest@cb8f6fba6f20b5f8649bd573e80a7583a239894c # v1.7.0 uses: zephyrproject-rtos/action-manifest@cb8f6fba6f20b5f8649bd573e80a7583a239894c # v1.7.0
with: with:
github-token: ${{ secrets.ZB_GITHUB_TOKEN }} github-token: ${{ secrets.GITHUB_TOKEN }}
manifest-path: 'west.yml' manifest-path: 'west.yml'
checkout-path: 'zephyrproject/zephyr' checkout-path: 'zephyrproject/zephyr'
use-tree-checkout: 'true' use-tree-checkout: 'true'

Loading…
Cancel
Save