diff --git a/.github/workflows/tagpr.yml b/.github/workflows/tagpr.yml new file mode 100644 index 00000000..d05f60f2 --- /dev/null +++ b/.github/workflows/tagpr.yml @@ -0,0 +1,18 @@ +name: tagpr +on: + push: + branches: ["main"] +jobs: + tagpr: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Generate token + id: generate_token + uses: tibdex/github-app-token@v2.1.0 + with: + app_id: ${{ secrets.WRITE_APP_ID }} + private_key: ${{ secrets.WRITE_PRIVATE_KEY }} + - uses: Songmu/tagpr@v1 + env: + GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}