Skip to content

Commit

Permalink
ci: make events api fail conditionally (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher authored Dec 8, 2023
1 parent 991452f commit b4b271b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ jobs:
uses: LizardByte/setup-release-action@master # keep this on master, to prevent endless depandabot PRs
with:
changelog_path: ./tests/data/set${{ matrix.set }}/CHANGELOG.md
fail_on_events_api_error: false
fail_on_events_api_error: # PRs will fail if this is true
${{ github.event_name == 'pull_request' && 'false' || 'true' }}
github_token: ${{ secrets.GITHUB_TOKEN }} # can use GITHUB_TOKEN for read-only access

- name: Set action variables
Expand Down

0 comments on commit b4b271b

Please sign in to comment.