-
-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1635 from tgstation/v5140Release [TGSDeploy][Nuge…
…tDeploy] v5.14.0 Release. Fix gh-pages build. Unpin wingetcreate version
- Loading branch information
Showing
74 changed files
with
2,359 additions
and
487 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
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,32 @@ | ||
name: "Check PR Has Milestone" | ||
|
||
on: | ||
pull_request: | ||
types: [ opened, edited, synchronize, reopened ] | ||
branches: | ||
- dev | ||
- master | ||
- V6 | ||
|
||
concurrency: | ||
group: "check-pr-milestone-${{ github.head_ref || github.run_id }}-${{ github.event_name }}" | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
fail-on-bad-milestone: | ||
name: Fail if Pull Request has no Associated Version Milestone | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Fail if no Milestone Set | ||
if: github.event.pull_request.milestone == null | ||
run: | | ||
echo "::error::Pull request must have milestone set!" | ||
exit 1 | ||
- name: Fail if Invalid Milestone Set | ||
run: | | ||
if [[ ${{ github.event.pull_request.milestone.title }} =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then | ||
exit 0 | ||
fi | ||
echo "::error::Pull request has non-standard milestone!" | ||
exit 1 |
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
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
Oops, something went wrong.