mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-18 07:50:13 +00:00
fix(ci): a release fails its checks when its notes miss a commit merged after the cut (#7601)
* fix(ci): a release fails its checks when its notes miss a commit merged after the cut * fix(ci): shorten the release checks comment * fix(ci): find the last release by subject and say to link a deliberate omission
This commit is contained in:
@@ -73,6 +73,7 @@ jobs:
|
||||
pull-requests: read
|
||||
outputs:
|
||||
release_only: ${{ steps.release.outputs.release_only }}
|
||||
release_diff: ${{ steps.release.outputs.release_diff }}
|
||||
code: ${{ (github.event_name == 'workflow_dispatch' && inputs.catalog_publish) && 'true' || steps.release.outputs.release_only == 'true' && 'false' || steps.filter.outputs.code }}
|
||||
docs_catalog: ${{ steps.filter.outputs.docs_catalog }}
|
||||
cli: ${{ steps.release.outputs.release_only == 'true' && 'false' || steps.filter.outputs.cli }}
|
||||
@@ -272,7 +273,8 @@ jobs:
|
||||
release-checks:
|
||||
name: Release checks
|
||||
needs: changes
|
||||
if: ${{ needs.changes.outputs.release_only == 'true' }}
|
||||
# The queue also runs this on a release, so a commit merged after the notes were drafted fails here.
|
||||
if: ${{ (github.event_name == 'merge_group' && needs.changes.outputs.release_diff == 'true') || needs.changes.outputs.release_only == 'true' }}
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 4
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user