Skip to content

Commit

Permalink
Use github.token instead of secrets.GITHUB_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
menghif committed Apr 12, 2022
1 parent 943042b commit 848a472
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,12 @@ jobs:
eslint:
uses: Seneca-CDOT/telescope/.github/workflows/eslint-ci.yml@master
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
turborepo-token: ${{ secrets.TURBO_SERVER_TOKEN }}

# Run unit tests on all platforms/versions of node
unit:
uses: Seneca-CDOT/telescope/.github/workflows/unit-tests-ci.yml@master
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
turborepo-token: ${{ secrets.TURBO_SERVER_TOKEN }}

# Run end-to-end tests along with the microservices in docker-compose on Linux
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/eslint-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Turborepo local server
uses: felixmosh/turborepo-gh-artifacts@v1
with:
repo-token: ${{ secrets.github-token }}
repo-token: ${{ github.token }}
server-token: ${{ secrets.turborepo-token }}

- name: Install dependencies and run eslint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Turborepo local server
uses: felixmosh/turborepo-gh-artifacts@v1
with:
repo-token: ${{ secrets.github-token }}
repo-token: ${{ github.token }}
server-token: ${{ secrets.turborepo-token }}

- name: Install dependencies and run tests with default env
Expand Down

0 comments on commit 848a472

Please sign in to comment.