From 119b7a35ce5ae031d74e1981eac87f6c8135fd75 Mon Sep 17 00:00:00 2001 From: Timothy Clarke Date: Tue, 17 Sep 2024 09:14:31 +0000 Subject: [PATCH] Checking without WITH_V and without TAG_PREFIX option --- .github/workflows/branch_no_prefix.yaml | 31 +++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/branch_no_prefix.yaml diff --git a/.github/workflows/branch_no_prefix.yaml b/.github/workflows/branch_no_prefix.yaml new file mode 100644 index 0000000..d85aea6 --- /dev/null +++ b/.github/workflows/branch_no_prefix.yaml @@ -0,0 +1,31 @@ +--- +name: Branch no Prefix + +on: # yamllint disable-line rule:truthy + workflow_dispatch: + push: + branches: + - branch_no_prefix + +jobs: + update-tags: + name: Tag update for Branch No Prefix + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - name: Github Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 2 + + - name: Bump version and push tag + uses: timothyclarke/github-tag-action@a970082a7a44289bdaa93dfdc33110b94ff86ee1 + # uses: anothrNick/github-tag-action@v1 # Don't use @master or @v1 unless you're happy to test the latest version + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # if you don't want to set write permissions use a PAT token + DEFAULT_BRANCH: branch_no_prefix + RELEASE_BRANCHES: branch_no_prefix + PRERELEASE: false + DEFAULT_BUMP: patch + BRANCH_HISTORY: last