From e65ddbcdfd31a9e298e8963c771534f67abd0b50 Mon Sep 17 00:00:00 2001 From: Stephan Date: Fri, 10 Dec 2021 16:24:40 +0100 Subject: [PATCH] manual action exp --- .github/workflows/manual-thingy.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/manual-thingy.yml diff --git a/.github/workflows/manual-thingy.yml b/.github/workflows/manual-thingy.yml new file mode 100644 index 0000000..e92d225 --- /dev/null +++ b/.github/workflows/manual-thingy.yml @@ -0,0 +1,21 @@ +name: Manually Do Something +on: workflow_dispatch +inputs: + version: + description: "The version to release" + required: true +jobs: + job: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + token: ${{ secrets.GITHUB_TOKEN }} + ref: release/${{ github.event.inputs.version }} + - name: Do Something + run: | + git tag v${{ github.event.inputs.version }} + git config user.email "github-actions@zpqrtbnk.net" + git config user.name "GitHub Actions (Do Something)" + git push --tags