Skip to content

Commit

Permalink
chore: fix CI token passed in forks (#6399)
Browse files Browse the repository at this point in the history
  • Loading branch information
IT-MikeS committed Mar 15, 2023
1 parent 36fe162 commit 0502521
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
token: ${{ secrets.CAP_GH_RELEASE_TOKEN || github.token}}
- name: Restore Dependency Cache
uses: actions/cache@v1
with:
Expand All @@ -40,7 +40,7 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
token: ${{ secrets.CAP_GH_RELEASE_TOKEN || github.token }}
- name: Restore Dependency Cache
uses: actions/cache@v3
with:
Expand All @@ -61,7 +61,7 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
token: ${{ secrets.CAP_GH_RELEASE_TOKEN || github.token }}
- name: Restore Dependency Cache
uses: actions/cache@v3
with:
Expand All @@ -85,7 +85,7 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
token: ${{ secrets.CAP_GH_RELEASE_TOKEN || github.token }}
- name: Restore Dependency Cache
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
token: ${{ secrets.CAP_GH_RELEASE_TOKEN || github.token }}
- name: Restore Dependency Cache
uses: actions/cache@v3
with:
Expand All @@ -138,7 +138,7 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.CAP_GH_RELEASE_TOKEN }}
token: ${{ secrets.CAP_GH_RELEASE_TOKEN || github.token }}
- name: Restore Dependency Cache
uses: actions/cache@v3
with:
Expand Down

0 comments on commit 0502521

Please sign in to comment.