Skip to content

Merge pull request #20 from futabooo/fix-release-workflow #11

Merge pull request #20 from futabooo/fix-release-workflow

Merge pull request #20 from futabooo/fix-release-workflow #11

Workflow file for this run

name: tagpr
on:
push:
branches:
- main
jobs:
tagpr:
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: write
pull-requests: write
issues: read
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: Songmu/tagpr@3dca11e7c0d68637ee212ddd35acc3d30a7403a4 # v1.5.0
id: tagpr
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
release:
needs: [tagpr]
if: needs.tagpr.outputs.tag != ''
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: write
steps:
- uses: ./.github/actions/release
with:
tag: ${{ needs.tagpr.outputs.tag }}
github_token: ${{ secrets.GITHUB_TOKEN }}