From ab9237205421a4e22b6f5c47f002aab771007dd1 Mon Sep 17 00:00:00 2001 From: eveningkid Date: Thu, 3 Nov 2022 19:16:46 -0700 Subject: [PATCH] chore(ci): add tag release workflow --- .github/workflows/tag-release.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/tag-release.yml diff --git a/.github/workflows/tag-release.yml b/.github/workflows/tag-release.yml new file mode 100644 index 0000000..703f93c --- /dev/null +++ b/.github/workflows/tag-release.yml @@ -0,0 +1,21 @@ +name: tag-release +run-name: Tag Release +on: + pull_request: + types: + - closed + branches: + - master +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + ref: ${{github.event.pull_request.head.sha}} + fetch-depth: "0" + - name: Bump version and push tag + uses: anothrNick/github-tag-action@v1 + env: + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + WITH_V: true