Skip to content

Commit 96bd56d

Browse files
authored
Merge pull request #1 from semgrep/update-readme
Update readme - replace `tibdex/github-app-token` with `create-github-app-token`
2 parents cb4e779 + e9290a6 commit 96bd56d

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

docs/README.tmpl

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,11 @@ instance, if you create a branch via `git checkout -b my-test-branch` in one of
2828
### Example: Using a GitHub App Installation Token
2929

3030
```yaml
31-
- uses: tibdex/github-app-token@v1
31+
- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1
3232
id: get_installation_token
3333
with:
34-
app_id: ${{ secrets.GITHUB_APP_ID }}
35-
installation_id: ${{ secrets.GITHUB_APP_INSTALLATION_ID }}
36-
private_key: ${{ secrets.GITHUB_APP_PRIVATE_KEY }}
34+
client-id: ${{ vars.GITHUB_APP_CLIENT_ID }}
35+
private-key: ${{ vars.GITHUB_APP_PRIVATE_KEY }}
3736
3837
- name: Commit changes
3938
uses: grafana/github-api-commit-action@$TAG_HASH # $TAG

0 commit comments

Comments
 (0)