Skip to content

Commit

Permalink
Avoid "Unexpected value " in scheduled events
Browse files Browse the repository at this point in the history
Why happened now? GitHub changed the parser or the evaluating engine?
  • Loading branch information
kachick committed Feb 28, 2025
1 parent 3d0af5f commit f7787e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
if: ${{ needs.get-meta.outputs.require_comments == 'true' }}
uses: ./.github/workflows/minimize-staging-deploy-comments.yml
with:
pr-number: ${{ github.event.number }}
pr-number: ${{ github.event_name == 'pull_request' && github.event.number || 0 }}
build_and_push:
# Do not set `cancel-in-progress: true` in main branch, it displays failure badges
# https://github.com/orgs/community/discussions/8336
Expand Down

0 comments on commit f7787e2

Please sign in to comment.