forked from glennsarti/puppetfile-resolver
-
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.
(maint) - workflows for mend, labelling & release
- Loading branch information
1 parent
fe505ad
commit 04e23c8
Showing
5 changed files
with
79 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,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,15 @@ | ||
name: "mend" | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- "main" | ||
schedule: | ||
- cron: "0 0 * * *" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
|
||
mend: | ||
uses: "puppetlabs/cat-github-actions/.github/workflows/tooling_mend_ruby.yml@main" | ||
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,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.event.inputs.version }}" | ||
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