Skip to content

Commit 2ad88a8

Browse files
authored
Change GH_TOKEN to use secrets in workflow
Update GH_TOKEN environment variable to use secrets.
1 parent 75c443c commit 2ad88a8

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/vendorlist.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,11 @@ on:
88
# Run the workflow manually
99
workflow_dispatch:
1010

11-
env:
12-
GH_TOKEN: ${{ github.token }}
13-
1411
jobs:
1512
generate-vendor-list:
1613
runs-on: ubuntu-latest
14+
env:
15+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1716
steps:
1817
- run: |
1918
gh repo list iarsystems --limit 1000 | grep 'ewarm-.*-example-projects' | cut -f1 > vendors.txt

0 commit comments

Comments
 (0)