Commit c04bb41 1 parent 75a13e1 commit c04bb41 Copy full SHA for c04bb41
File tree 1 file changed +3
-21
lines changed
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`
2
2
3
3
> GitHub Action for creating a GitHub App Installation Access Token
4
4
19
19
hello-world :
20
20
runs-on : ubuntu-latest
21
21
steps :
22
- - uses : gr2m /github-app-token-action @v1
22
+ - uses : actions /github-app-token@v1
23
23
id : app-token
24
24
with :
25
25
app_id : ${{ vars.APP_ID }}
31
31
body : " Hello, World!"
32
32
` ` `
33
33
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
-
52
34
### Use app token with ` actions/checkout`
53
35
54
36
` ` ` yaml
58
40
auto-format:
59
41
runs-on: ubuntu-latest
60
42
steps:
61
- - uses : gr2m /github-app-token-action @v1
43
+ - uses: actions /github-app-token@v1
62
44
id: app-token
63
45
with:
64
46
# required
You can’t perform that action at this time.
0 commit comments