-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
89 additions
and
71 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 |
---|---|---|
@@ -1,20 +1,34 @@ | ||
# This workflow will triage pull requests and apply a label based on the | ||
# paths that are modified in the pull request. | ||
# | ||
# To use this workflow, you will need to set up a .github/labeler.yml | ||
# file with configuration. For more information, see: | ||
# https://github.com/actions/labeler/blob/master/README.md | ||
# .github/workflows/release.yml | ||
name: Release | ||
|
||
name: PR Labeler | ||
on: | ||
pull_request: | ||
types: [opened, synchronize] | ||
types: [closed] | ||
|
||
jobs: | ||
pr-labeler: | ||
build: | ||
runs-on: ubuntu-latest | ||
permissions: write-all | ||
if: github.event.pull_request.merged | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: banyan/[email protected] | ||
- name: Get Next Release | ||
id: tag | ||
uses: K-Phoen/semver-release-action@master | ||
with: | ||
release_strategy: none | ||
release_branch: main | ||
tag_format: "%major%.%minor%.%patch%" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- run: echo 'Creating new release for ' ${{ steps.tag.outputs.tag }} | ||
- name: Create Release | ||
if: ${{ steps.tag.outputs.tag }} | ||
uses: ncipollo/release-action@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
name: ${{ steps.tag.outputs.tag }} | ||
tag: ${{ steps.tag.outputs.tag }} | ||
commit: ${{ github.sha }} | ||
generateReleaseNotes: true | ||
makeLatest: true |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
2 changes: 1 addition & 1 deletion
2
docroot/profiles/humsci/su_humsci_profile/su_humsci_profile.info.yml
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