Skip to content

Commit b086e7f

Browse files
doc: update readme
1 parent 752e1a6 commit b086e7f

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Please refer to the [release](https://github.com/githubofkrishnadhas/github-acce
3131

3232
# Usage
3333
```commandline
34-
- uses: githubofkrishnadhas/github-access-using-githubapp@v2
34+
- uses: githubofkrishnadhas/github-access-using-githubapp@v3
3535
id: token-generation
3636
with:
3737
# Your GitHub App ID - interger value
@@ -56,7 +56,7 @@ Please refer to the [release](https://github.com/githubofkrishnadhas/github-acce
5656
## Create a token for the current repository
5757

5858
```commandline
59-
uses: githubofkrishnadhas/github-access-using-githubapp@v2
59+
uses: githubofkrishnadhas/github-access-using-githubapp@v3
6060
id: token-generation
6161
with:
6262
github_app_id: ${{ secrets.APP_ID }}
@@ -71,7 +71,7 @@ uses: githubofkrishnadhas/github-access-using-githubapp@v2
7171
## Create a token for the current user or organization level
7272

7373
```commandline
74-
uses: githubofkrishnadhas/github-access-using-githubapp@v2
74+
uses: githubofkrishnadhas/github-access-using-githubapp@v3
7575
id: token-generation
7676
with:
7777
github_app_id: ${{ secrets.APP_ID }}
@@ -87,7 +87,7 @@ uses: githubofkrishnadhas/github-access-using-githubapp@v2
8787
## Create a token for a differnt user or organization scoped to specific repos
8888

8989
```commandline
90-
uses: githubofkrishnadhas/github-access-using-githubapp@v2
90+
uses: githubofkrishnadhas/github-access-using-githubapp@v3
9191
id: token-generation
9292
with:
9393
github_app_id: ${{ secrets.APP_ID }}
@@ -117,7 +117,7 @@ jobs:
117117
steps:
118118
119119
- name: Token generator
120-
uses: githubofkrishnadhas/github-access-using-githubapp@v2
120+
uses: githubofkrishnadhas/github-access-using-githubapp@v3
121121
id: token-generation
122122
with:
123123
github_app_id: ${{ secrets.APP_ID }}
@@ -130,7 +130,7 @@ jobs:
130130
token: ${{ steps.token-generation.outputs.token }}
131131
fetch-depth: 1
132132
```
133-
* The above workflow generates a github app installation access token using the action - `githubofkrishnadhas/github-access-using-githubapp@v2`
133+
* The above workflow generates a github app installation access token using the action - `githubofkrishnadhas/github-access-using-githubapp@v3`
134134
* The token generated will be available as a ${{ steps.token-generation.outputs.token }} which can be used in later stages as shown above
135135
* The workflow is to clone a repository named `azure-terraform-modules` inside `devwithkrishna` organization
136136

0 commit comments

Comments
 (0)