From 04e23c8ee799537e24163526dfc9d64894053e5e Mon Sep 17 00:00:00 2001 From: jordanbreen28 Date: Mon, 30 Oct 2023 09:39:55 +0000 Subject: [PATCH] (maint) - workflows for mend, labelling & release --- .github/workflows/labeller.yml | 27 +++++++++++++++++++++++++++ .github/workflows/mend.yml | 15 +++++++++++++++ .github/workflows/release.yml | 16 ++++++++++++++++ .github/workflows/release_prep.yml | 20 ++++++++++++++++++++ HISTORY.md | 2 +- 5 files changed, 79 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/labeller.yml create mode 100644 .github/workflows/mend.yml create mode 100644 .github/workflows/release.yml create mode 100644 .github/workflows/release_prep.yml diff --git a/.github/workflows/labeller.yml b/.github/workflows/labeller.yml new file mode 100644 index 0000000..ee149bf --- /dev/null +++ b/.github/workflows/labeller.yml @@ -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/community-labeller@v1.0.1 + 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 }} diff --git a/.github/workflows/mend.yml b/.github/workflows/mend.yml new file mode 100644 index 0000000..095e9e5 --- /dev/null +++ b/.github/workflows/mend.yml @@ -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" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..92338dc --- /dev/null +++ b/.github/workflows/release.yml @@ -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" diff --git a/.github/workflows/release_prep.yml b/.github/workflows/release_prep.yml new file mode 100644 index 0000000..08bffb4 --- /dev/null +++ b/.github/workflows/release_prep.yml @@ -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" diff --git a/HISTORY.md b/HISTORY.md index 5b4bfeb..37f7a72 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,6 +1,6 @@ # Change Log -All notable changes to the "puppet-editor-services" repository will be documented in this file. +All notable made changes to "puppetfile-resolver" repository prior to official puppet support are documented in this file. Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.