Skip to content

Merge pull request #52 from ryotarai/faster-delete-queue #5

Merge pull request #52 from ryotarai/faster-delete-queue

Merge pull request #52 from ryotarai/faster-delete-queue #5

Workflow file for this run

#
# tagpr workflow
#
name: tagpr
on:
push:
branches: ["master"]
jobs:
tagpr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- id: tagpr
name: Tagpr
uses: Songmu/tagpr@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# If tagpr pushed tags, invoke release custom action manually.
# It is because:
# > When you use the repository's GITHUB_TOKEN to perform tasks,
# > events triggered by the GITHUB_TOKEN, with the exception of
# > workflow_dispatch and repository_dispatch, will not create
# > a new workflow run.
# ref: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow
- name: "Release (only when tagged)"
uses: ./.github/actions/release
if: "steps.tagpr.outputs.tag != ''"
with:
tag: ${{ steps.tagpr.outputs.tag }}
token: ${{ secrets.GITHUB_TOKEN }}