Skip to content

Commit

Permalink
Pass GITHUB_TOKEN to test workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
wata727 committed Dec 21, 2022
1 parent f699630 commit 1dec8e7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
schedule:
- cron: "0 0 * * *"

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
test:
name: ${{ matrix.os }}
Expand All @@ -29,8 +32,6 @@ jobs:
cache: true
- name: Run test
run: make test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run build
run: make build
- name: Upload Artifact
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
schedule:
- cron: "0 0 * * *"

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
test:
name: ${{ matrix.os }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/install_script.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
branches:
- master

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
vm:
name: ${{ matrix.os }}
Expand Down

0 comments on commit 1dec8e7

Please sign in to comment.