From 3aaf17280d38a6dd02a45d5eb57e779971584756 Mon Sep 17 00:00:00 2001 From: Jeffrey Clark Date: Wed, 14 Feb 2024 23:00:17 -0600 Subject: [PATCH] (maint) add release workflows --- .github/workflows/release.yml | 9 +++++++++ .github/workflows/release_prep.yml | 15 +++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 .github/workflows/release.yml create mode 100644 .github/workflows/release_prep.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..5a45aa01 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,9 @@ +name: "Publish module" + +on: + workflow_dispatch: + +jobs: + release: + uses: "puppetlabs/cat-github-actions/.github/workflows/module_release.yml@main" + secrets: "inherit" diff --git a/.github/workflows/release_prep.yml b/.github/workflows/release_prep.yml new file mode 100644 index 00000000..bb0b7acc --- /dev/null +++ b/.github/workflows/release_prep.yml @@ -0,0 +1,15 @@ +name: "Release Prep" + +on: + workflow_dispatch: + inputs: + version: + description: "Module version to be released. Must be a valid semver string. (1.2.3)" + required: true + +jobs: + release_prep: + uses: "puppetlabs/cat-github-actions/.github/workflows/module_release_prep.yml@main" + with: + version: "${{ github.event.inputs.version }}" + secrets: "inherit"