-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i160 - set up label requirement for PRs and set first release version (…
- Loading branch information
Shana Moore
authored
Mar 7, 2023
1 parent
ed740bc
commit 275089b
Showing
3 changed files
with
50 additions
and
1 deletion.
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,24 @@ | ||
name: Verify | ||
on: | ||
pull_request: | ||
branches: | ||
- '**' | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
branches: | ||
runs-on: ubuntu-latest | ||
name: Disallow "master" branch name | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Check branch names | ||
run: | | ||
git fetch --all --quiet --prune --prune-tags | ||
if [[ -n "$(git branch --all --list master */master)" ]]; then | ||
echo "A branch named 'master' was found. Please remove it." | ||
echo "$(git branch --all --list master */master)" | ||
fi | ||
[[ -z "$(git branch --all --list master */master)" ]] |
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: Verify | ||
on: | ||
pull_request: | ||
branches: | ||
- '**' | ||
types: | ||
- opened | ||
- synchronize | ||
- reopened | ||
- labeled | ||
- unlabeled | ||
|
||
jobs: | ||
check_pr_labels: | ||
runs-on: ubuntu-latest | ||
name: PR has required labels | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
# https://github.com/marketplace/actions/label-checker-for-pull-requests | ||
- name: Check PR for Release Notes labels | ||
uses: docker://agilepathway/pull-request-label-checker:latest | ||
with: | ||
one_of: patch-ver,minor-ver,major-ver,ignore-for-release | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module IiifPrint | ||
VERSION = '0.0.1'.freeze | ||
VERSION = '1.0.0'.freeze | ||
end |