-
Notifications
You must be signed in to change notification settings - Fork 0
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 #288 from asfadmin/release-workflow
add changelog and release workflow
- Loading branch information
Showing
7 changed files
with
97 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,2 @@ | ||
# These owners will be requested for review when someone opens a pull request. | ||
* @asfadmin/tools-admin |
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,19 @@ | ||
name: Changelog updated? | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- labeled | ||
- unlabeled | ||
- synchronize | ||
branches: | ||
- prod | ||
- test | ||
|
||
jobs: | ||
call-changelog-check-workflow: | ||
# Docs: https://github.com/ASFHyP3/actions | ||
uses: ASFHyP3/actions/.github/workflows/reusable-changelog-check.yml@v0.9.0 | ||
secrets: | ||
USER_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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Is PR labeled? | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- labeled | ||
- unlabeled | ||
- synchronize | ||
branches: | ||
- prod | ||
|
||
jobs: | ||
call-labeled-pr-check-workflow: | ||
# Docs: https://github.com/ASFHyP3/actions | ||
uses: ASFHyP3/actions/.github/workflows/reusable-labeled-pr-check.yml@v0.9.0 |
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: Create Release Comment | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
branches: | ||
- prod | ||
|
||
jobs: | ||
call-release-workflow: | ||
# Docs: https://github.com/ASFHyP3/actions | ||
uses: ASFHyP3/actions/.github/workflows/reusable-release-checklist-comment.yml@v0.9.0 | ||
permissions: | ||
pull-requests: write | ||
secrets: | ||
USER_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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Create Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
|
||
jobs: | ||
call-release-workflow: | ||
uses: ASFHyP3/actions/.github/workflows/reusable-release.yml@v0.9.0 | ||
with: | ||
release_prefix: GRFN Distribution | ||
release_branch: prod | ||
develop_branch: test | ||
secrets: | ||
USER_TOKEN: ${{ secrets.TOOLS_BOT_PAK }} |
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,16 @@ | ||
name: Tag New Version | ||
|
||
on: | ||
push: | ||
branches: | ||
- prod | ||
|
||
jobs: | ||
call-bump-version-workflow: | ||
# Docs: https://github.com/ASFHyP3/actions | ||
uses: ASFHyP3/actions/.github/workflows/reusable-bump-version.yml@v0.9.0 | ||
with: | ||
user: tools-bot | ||
email: UAF-asf-apd@alaska.edu | ||
secrets: | ||
USER_TOKEN: ${{ secrets.TOOLS_BOT_PAK }} |
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,11 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [PEP 440](https://www.python.org/dev/peps/pep-0440/) | ||
and uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [1.0.0] | ||
### Added | ||
- Versioned releases are now published to GitHub and changes are tracked in CHANGELOG.md |