Skip to content

Commit c04bb41

Browse files
gr2mparkerbxyz
andauthored
fix(README): update repository name, remove section for feature that is not yet implemented (actions#9)
Co-authored-by: Parker Brown <17183625+parkerbxyz@users.noreply.github.com>
1 parent 75a13e1 commit c04bb41

File tree

1 file changed

+3
-21
lines changed

1 file changed

+3
-21
lines changed

README.md

+3-21
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# `gr2m/github-app-token-action`
1+
# `actions/github-app-token`
22

33
> GitHub Action for creating a GitHub App Installation Access Token
44
@@ -19,7 +19,7 @@ jobs:
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 }}
@@ -31,24 +31,6 @@ jobs:
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
@@ -58,7 +40,7 @@ jobs:
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

0 commit comments

Comments
 (0)