Skip to content

Commit

Permalink
ci(.github/workflows/): pass github tokens while mise install
Browse files Browse the repository at this point in the history
  • Loading branch information
risu729 committed Dec 4, 2024
1 parent 6c948f9 commit 40bbbfe
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ jobs:
with:
version: 2024.11.37
cache_save: ${{ github.ref_name == 'main' }}
env:
GITHUB_TOKEN: ${{ github.token }}

- name: List mise tasks
id: list
Expand Down Expand Up @@ -70,6 +72,8 @@ jobs:
with:
version: 2024.11.37
cache_save: ${{ github.ref_name == 'main' }}
env:
GITHUB_TOKEN: ${{ github.token }}

- name: Run ${{ matrix.name }}
run: mise run ${{ matrix.task }}
Expand All @@ -91,6 +95,8 @@ jobs:
with:
version: 2024.11.37
cache_save: ${{ github.ref_name == 'main' }}
env:
GITHUB_TOKEN: ${{ github.token }}

- name: Install package.json dependencies
run: mise run buni:root
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ jobs:
with:
version: 2024.11.37
cache_save: ${{ github.ref_name == 'main' }}
env:
GITHUB_TOKEN: ${{ github.token }}

- name: Run tests
run: mise run worker:test:ci
Expand Down Expand Up @@ -70,6 +72,8 @@ jobs:
with:
version: 2024.11.37
cache_save: ${{ github.ref_name == 'main' }}
env:
GITHUB_TOKEN: ${{ github.token }}

- name: Install package.json dependencies
run: mise run buni:worker
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/wsl-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ jobs:
[tools]
"ubi:kellyjonbrazil/jc" = "latest"
cache_save: ${{ github.ref_name == 'main' }}
env:
GITHUB_TOKEN: ${{ github.token }}

- name: Get latest Ubuntu version
id: version
Expand Down

0 comments on commit 40bbbfe

Please sign in to comment.