diff --git a/.github/workflows/tags.yaml b/.github/workflows/tags.yaml index d5ad0cb..3769828 100644 --- a/.github/workflows/tags.yaml +++ b/.github/workflows/tags.yaml @@ -1,22 +1,19 @@ name: Tag + Bump version on: - pull_request: + push: branches: - main jobs: build: - if: github.event.pull_request.merged == true runs-on: ubuntu-22.04 permissions: contents: write steps: - uses: actions/checkout@v3 with: - ref: ${{ github.event.pull_request.merge_commit_sha }} fetch-depth: '0' - - name: Bump version and push tag - uses: anothrNick/github-tag-action@1.64.0 + uses: anothrNick/github-tag-action@1.64.0 # Don't use @master or @v1 unless you're happy to test the latest version env: DEFAULT_BUMP: patch GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}