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