Skip to content

Commit

Permalink
Merge pull request #1592 from stripe/anniel-coveralls-update
Browse files Browse the repository at this point in the history
Do not run Coveralls if secret token is not available
  • Loading branch information
anniel-stripe authored Oct 24, 2022
2 parents 153c68a + 8690b5b commit a8a1f48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:

- name: Coveralls
run: yarn report && yarn coveralls
if: matrix.node == '18'
if: env.COVERALLS_REPO_TOKEN && matrix.node == '18'
env:
GITHUB_TOKEN: ${{ secrets.github_token }}
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
Expand Down

0 comments on commit a8a1f48

Please sign in to comment.