mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-02 11:47:13 +00:00
* ci: a release PR runs a fast release check, not the heavy suites * ci: keep the release check's header within the comment limit * ci: shorten the release check's usage line * ci: trim the release check's comments * ci: the release check's classifier hands the manifest test to a helper
20 lines
697 B
YAML
20 lines
697 B
YAML
name: Release-only diff
|
|
description: >-
|
|
Says whether a pull request changes only package and plugin versions, release notes and the changelog, so heavy suites
|
|
can skip it. Main and the merge queue never skip. Needs a checkout with full history.
|
|
outputs:
|
|
release_only:
|
|
description: "'true' when every changed file is a version bump, release note or changelog entry."
|
|
value: ${{ steps.diff.outputs.release_only }}
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- id: diff
|
|
shell: bash
|
|
run: |
|
|
if [ "${{ github.event_name }}" = pull_request ]; then
|
|
node scripts/ci/release-only-diff.mjs
|
|
else
|
|
echo "release_only=false" >> "$GITHUB_OUTPUT"
|
|
fi
|