Skip to content

ci: don't run CI in PR actions (#247) #18

ci: don't run CI in PR actions (#247)

ci: don't run CI in PR actions (#247) #18

Workflow file for this run

name: tagpr
on:
push:
branches:
- 'main'
jobs:
tagpr:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.TAGPR_GITHUB_TOKEN }}
- name: tagpr
id: tagpr
uses: Songmu/tagpr@v1
env:
GITHUB_TOKEN: ${{ secrets.TAGPR_GITHUB_TOKEN }}
- uses: ./.github/actions/release
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
homebrew-tap-github-token: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}
if: steps.tagpr.outputs.tag != ''