Skip to content

Merge pull request #26 from pfnet/dependabot/go_modules/github.com/aw… #10

Merge pull request #26 from pfnet/dependabot/go_modules/github.com/aw…

Merge pull request #26 from pfnet/dependabot/go_modules/github.com/aw… #10

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 }}",
})