Skip to content

Commit

Permalink
Merge pull request #20 from puppetlabs/MAINT_Add-labeller-and-release…
Browse files Browse the repository at this point in the history
…-prep-actions

(MAINT) Add labeller and release-prep actions
  • Loading branch information
chelnak authored Nov 29, 2022
2 parents e9b28f9 + 4f89b77 commit 3e263e0
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/labeller.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: community-labeller

on:
issues:
types:
- opened
pull_request_target:
types:
- opened

jobs:
label:
runs-on: ubuntu-latest
steps:

- uses: puppetlabs/community-labeller@v0
name: Label issues or pull requests
with:
label_name: community
label_color: '5319e7'
org_membership: puppetlabs
token: ${{ secrets.IAC_COMMUNITY_LABELER }}
16 changes: 16 additions & 0 deletions .github/workflows/release_prep.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
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"

jobs:
release_prep:
uses: "puppetlabs/cat-github-actions/.github/workflows/gem_release_prep.yml@main"
with:
target: "${{ github.event.inputs.target }}"
secrets: "inherit"

0 comments on commit 3e263e0

Please sign in to comment.