Skip to content

Commit

Permalink
fix(README): update repository name, remove section for feature that …
Browse files Browse the repository at this point in the history
…is not yet implemented (actions#9)

Co-authored-by: Parker Brown <[email protected]>
  • Loading branch information
gr2m and parkerbxyz authored Aug 21, 2023
1 parent 75a13e1 commit c04bb41
Showing 1 changed file with 3 additions and 21 deletions.
24 changes: 3 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# `gr2m/github-app-token-action`
# `actions/github-app-token`

> GitHub Action for creating a GitHub App Installation Access Token
Expand All @@ -19,7 +19,7 @@ jobs:
hello-world:
runs-on: ubuntu-latest
steps:
- uses: gr2m/github-app-token-action@v1
- uses: actions/github-app-token@v1
id: app-token
with:
app_id: ${{ vars.APP_ID }}
Expand All @@ -31,24 +31,6 @@ jobs:
body: "Hello, World!"
```
### Limit the app's permissions and access to repositories
```yaml
on: [issues]

jobs:
with-scoped-token:
runs-on: ubuntu-latest
steps:
- uses: gr2m/github-app-token-action@v1
id: app-token
with:
# required
app_id: ${{ vars.APP_ID }}
private_key: ${{ secrets.PRIVATE_KEY }}
# do something with the token
```

### Use app token with `actions/checkout`

```yaml
Expand All @@ -58,7 +40,7 @@ jobs:
auto-format:
runs-on: ubuntu-latest
steps:
- uses: gr2m/github-app-token-action@v1
- uses: actions/github-app-token@v1
id: app-token
with:
# required
Expand Down

0 comments on commit c04bb41

Please sign in to comment.