File tree Expand file tree Collapse file tree 1 file changed +3
-21
lines changed Expand file tree Collapse file tree 1 file changed +3
-21
lines changed Original file line number Diff line number Diff line change 1- # ` gr2m /github-app-token-action `
1+ # ` actions /github-app-token`
22
33> GitHub Action for creating a GitHub App Installation Access Token
44
1919 hello-world :
2020 runs-on : ubuntu-latest
2121 steps :
22- - uses : gr2m /github-app-token-action @v1
22+ - uses : actions /github-app-token@v1
2323 id : app-token
2424 with :
2525 app_id : ${{ vars.APP_ID }}
3131 body : " Hello, World!"
3232` ` `
3333
34- ### Limit the app's permissions and access to repositories
35-
36- ` ` ` yaml
37- on : [issues]
38-
39- jobs :
40- with-scoped-token :
41- runs-on : ubuntu-latest
42- steps :
43- - uses : gr2m/github-app-token-action@v1
44- id : app-token
45- with :
46- # required
47- app_id : ${{ vars.APP_ID }}
48- private_key : ${{ secrets.PRIVATE_KEY }}
49- # do something with the token
50- ```
51-
5234### Use app token with ` actions/checkout`
5335
5436` ` ` yaml
5840 auto-format:
5941 runs-on: ubuntu-latest
6042 steps:
61- - uses : gr2m /github-app-token-action @v1
43+ - uses: actions /github-app-token@v1
6244 id: app-token
6345 with:
6446 # required
You can’t perform that action at this time.
0 commit comments