-
Notifications
You must be signed in to change notification settings - Fork 30
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 #112 from malikparvez/essentials
Adding release automations and labeller
- Loading branch information
Showing
4 changed files
with
73 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,10 @@ | ||
## Summary | ||
Provide a detailed description of all the changes present in this pull request. | ||
|
||
## Additional Context | ||
Add any additional context about the problem here. | ||
- [ ] Root cause and the steps to reproduce. (If applicable) | ||
- [ ] Thought process behind the implementation. | ||
|
||
## Related Issues (if any) | ||
Mention any related issues or pull requests. |
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,27 @@ | ||
name: Labeller | ||
|
||
on: | ||
issues: | ||
types: | ||
- opened | ||
- labeled | ||
- unlabeled | ||
pull_request_target: | ||
types: | ||
- opened | ||
- labeled | ||
- unlabeled | ||
|
||
jobs: | ||
label: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- uses: puppetlabs/[email protected] | ||
name: Label issues or pull requests | ||
with: | ||
label_name: community | ||
label_color: '5319e7' | ||
org_membership: puppetlabs | ||
fail_if_member: 'true' | ||
token: ${{ secrets.IAC_COMMUNITY_LABELER }} |
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: "release" | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
target: | ||
description: "The target for the release. This can be a commit sha or a branch." | ||
required: false | ||
default: "main" | ||
|
||
jobs: | ||
release: | ||
uses: "puppetlabs/cat-github-actions/.github/workflows/gem_release.yml@main" | ||
with: | ||
target: "${{ github.event.inputs.target }}" | ||
secrets: "inherit" |
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,20 @@ | ||
name: "release prep" | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
target: | ||
description: "The target for the release. This can be a commit sha or a branch." | ||
required: false | ||
default: "main" | ||
version: | ||
description: "Version of gem to be released." | ||
required: true | ||
|
||
jobs: | ||
release_prep: | ||
uses: "puppetlabs/cat-github-actions/.github/workflows/gem_release_prep.yml@main" | ||
with: | ||
target: "${{ github.event.inputs.target }}" | ||
version: "${{ github.events.inputs.version }}" | ||
secrets: "inherit" |