Skip to content

feat(main): add test for automq (#58) #75

feat(main): add test for automq (#58)

feat(main): add test for automq (#58) #75

Workflow file for this run

name: 🚀 Tagpr for GitHub Actions
on:
push:
branches:
- main
jobs:
tagpr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Install just
uses: taiki-e/install-action@just
- uses: Songmu/tagpr@v1
id: tagpr
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Trigger Release Workflow(only when tagged)
uses: actions/github-script@v6
if: "steps.tagpr.outputs.tag != ''"
with:
script: |
github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: 'release.yml',
ref: "refs/tags/${{ steps.tagpr.outputs.tag }}",
})