File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 push :
2525 branches : ["main"]
2626jobs :
27- deploy :
27+ tagpr :
2828 runs-on : ubuntu-latest
2929 steps :
30- - uses : actions/checkout@v3
31- - uses : Songmu/tagpr@main
32- env :
33- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
30+ - uses : actions/checkout@v3
31+ - uses : Songmu/tagpr@main
32+ env :
33+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
34+ ` ` `
35+
36+ If you do not want to use the token provided by GitHub Actions, do the following This is useful if you want to trigger another action with a tag.
37+ It would be safer to issue the token in conjunction with the GitHub App instead of a personal access token.
38+
39+ ` ` ` yaml
40+ name : tagpr
41+ on :
42+ push :
43+ branches :
44+ - main
45+ jobs :
46+ tagpr :
47+ runs-on : ubuntu-latest
48+ steps :
49+ - uses : actions/checkout@v3
50+ with :
51+ token : ${{ secrets.GH_PAT }}
52+ - uses : Songmu/tagpr@main
53+ env :
54+ GITHUB_TOKEN : ${{ secrets.GH_PAT }}
3455` ` `
3556
3657## Description
You can’t perform that action at this time.
0 commit comments