-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check for changeset from primer/react (#616)
* copy check for changeset from primer/react
- Loading branch information
1 parent
90d6261
commit bb9f48b
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Check for changeset | ||
|
||
on: | ||
pull_request: | ||
types: | ||
# On by default if you specify no types. | ||
- 'opened' | ||
- 'reopened' | ||
- 'synchronize' | ||
# For `skip-label` only. | ||
- 'labeled' | ||
- 'unlabeled' | ||
|
||
jobs: | ||
check-for-changeset: | ||
name: Check for changeset | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: 'Check for changeset' | ||
uses: brettcannon/check-for-changed-files@v1 | ||
with: | ||
file-pattern: '.changeset/*.md' | ||
skip-label: 'skip changeset' | ||
failure-message: 'No changeset found. If these changes should not result in a new version, apply the ${skip-label} label to this pull request. If these changes should result in a version bump, please add a changeset https://git.io/J6QvQ' |