From 80b310e53e2bb4319d907f7ed72232e7f60be622 Mon Sep 17 00:00:00 2001 From: sidey79 <7968127+sidey79@users.noreply.github.com> Date: Mon, 4 Oct 2021 14:47:07 +0200 Subject: [PATCH] Create tagrelease.yml (#75) Create workflow which triggers a run to create a new tag --- .github/workflows/tagrelease.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/tagrelease.yml diff --git a/.github/workflows/tagrelease.yml b/.github/workflows/tagrelease.yml new file mode 100644 index 0000000..e0ff5be --- /dev/null +++ b/.github/workflows/tagrelease.yml @@ -0,0 +1,22 @@ +name: TagRelease + +on: + # Triggers the workflow on push events but only for the main branch! + push: + branches: [ main ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +jobs: + create: + runs-on: ubuntu-latest + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + - name: Auto tag + uses: Klemensas/action-autotag@1.2.3 + with: + GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + package_root: ./ + tag_prefix: "v"