-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add pr labeling workflows to packit (#239)
- Loading branch information
Sophie Wigmore
authored
Oct 28, 2021
1 parent
4287c36
commit fcbdcfd
Showing
3 changed files
with
56 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,15 @@ | ||
.github/.patch_files | ||
.github/.syncignore | ||
.github/CODEOWNERS | ||
.github/dependabot.yml | ||
.github/labels.yml | ||
.github/workflows/check-pr-labels.yml | ||
.github/workflows/codeql-analysis.yml | ||
.github/workflows/label-pr.yml | ||
.github/workflows/lint.yml | ||
.github/workflows/synchronize-labels.yml | ||
.github/workflows/test-pull-request.yml | ||
.gitignore | ||
LICENSE | ||
NOTICE | ||
README.md |
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,24 @@ | ||
name: Validate PR Labels | ||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
types: | ||
- synchronize | ||
- opened | ||
- reopened | ||
- labeled | ||
- unlabeled | ||
|
||
concurrency: pr_labels | ||
|
||
jobs: | ||
semver: | ||
name: Ensure Minimal Semver Labels | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: mheap/github-action-required-labels@v1 | ||
with: | ||
count: 1 | ||
labels: semver:major, semver:minor, semver:patch | ||
mode: exactly |
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,17 @@ | ||
name: Auto-label PR | ||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
concurrency: pr_labels | ||
|
||
jobs: | ||
semver-label: | ||
name: Semver Auto-Label | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Auto-label Semver | ||
uses: paketo-buildpacks/github-config/actions/pull-request/auto-semver-label@main | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }} |