Skip to content

Merge pull request #69 from pfnet/dependabot/go_modules/patch-8b497ff699 #37

Merge pull request #69 from pfnet/dependabot/go_modules/patch-8b497ff699

Merge pull request #69 from pfnet/dependabot/go_modules/patch-8b497ff699 #37

Workflow file for this run

name: tagpr
on:
push:
branches:
- main
jobs:
tagpr:
runs-on: ubuntu-latest
permissions:
actions: write
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v4
- id: tagpr
uses: Songmu/tagpr@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- if: steps.tagpr.outputs.tag != ''
name: Trigger release workflow
uses: actions/github-script@v7
with:
script: |
github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: "release.yaml",
ref: "refs/tags/${{ steps.tagpr.outputs.tag }}",
})