chore: remove pr template #134
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "gh" | |
on: | |
workflow_dispatch: | |
push: | |
branches: ["main"] | |
# permissions: | |
# issues: write # required to run `gh pull --label foo` filter. | |
# pull-requests: write # required to run `gh api` for pulls | |
jobs: | |
gh: | |
runs-on: ubuntu-latest | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
timeout-minutes: 3 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: gh pr list | |
run: gh pr list --json headRefName --jq ".[].headRefName" | |
- name: gh api repos/${{ github.repository }}/pulls | |
run: gh api repos/${{ github.repository }}/pulls --jq '.[].head.ref' | |
- name: gh pr list --label hoge | |
run: gh pr list --label hoge --json headRefName --jq ".[].headRefName" |