Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/concepts-guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ The `token` input will then default to the repository's `GITHUB_TOKEN`, which wi

The following is an example of pushing to a fork using GitHub App tokens.
```yaml
- uses: actions/create-github-app-token@v1
- uses: actions/create-github-app-token@v2
id: generate-token
with:
app-id: ${{ secrets.APP_ID }}
Expand Down Expand Up @@ -319,7 +319,7 @@ GitHub App generated tokens can be configured with fine-grained permissions and

```yaml
steps:
- uses: actions/create-github-app-token@v1
- uses: actions/create-github-app-token@v2
id: generate-token
with:
app-id: ${{ secrets.APP_ID }}
Expand All @@ -342,7 +342,7 @@ For this case a token must be generated from the GitHub App installation of the
In the following example, a pull request is being created in remote repo `owner/repo`.
```yaml
steps:
- uses: actions/create-github-app-token@v1
- uses: actions/create-github-app-token@v2
id: generate-token
with:
app-id: ${{ secrets.APP_ID }}
Expand Down Expand Up @@ -397,7 +397,7 @@ In this example, the `token` input is generated using a GitHub App. This will si
steps:
- uses: actions/checkout@v4

- uses: actions/create-github-app-token@v1
- uses: actions/create-github-app-token@v2
id: generate-token
with:
app-id: ${{ secrets.APP_ID }}
Expand Down