Skip to content

Commit

Permalink
EES-5608 Fix dry run parameter not evaluating to a 1 or 0
Browse files Browse the repository at this point in the history
  • Loading branch information
ntsim committed Nov 1, 2024
1 parent d1e952b commit 96fa5d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/notify-expired-api-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ jobs:
run: bundle exec rake notify:expired
env:
HOST_URL: ${{ vars.API_DOCS_URL }}
REALLY_POST_TO_SLACK: ${{ (github.event_name == 'schedule') && 1 || (github.event.inputs.dry_run == 'false') }}
REALLY_POST_TO_SLACK: ${{ (github.event_name == 'schedule') && 1 || (github.event.inputs.dry_run == 'false') && 1 || 0 }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
OVERRIDE_SLACK_MESSAGE_PREFIX: Please ensure that the Public API documentation is up to date.

0 comments on commit 96fa5d1

Please sign in to comment.