Skip to content

Commit 9ba274d

Browse files
authored
fix(README): use v2 in examples (#234)
Fixes #232
1 parent a3c826a commit 9ba274d

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
hello-world:
2929
runs-on: ubuntu-latest
3030
steps:
31-
- uses: actions/create-github-app-token@v1
31+
- uses: actions/create-github-app-token@v2
3232
id: app-token
3333
with:
3434
app-id: ${{ vars.APP_ID }}
@@ -47,7 +47,7 @@ jobs:
4747
auto-format:
4848
runs-on: ubuntu-latest
4949
steps:
50-
- uses: actions/create-github-app-token@v1
50+
- uses: actions/create-github-app-token@v2
5151
id: app-token
5252
with:
5353
# required
@@ -73,7 +73,7 @@ jobs:
7373
auto-format:
7474
runs-on: ubuntu-latest
7575
steps:
76-
- uses: actions/create-github-app-token@v1
76+
- uses: actions/create-github-app-token@v2
7777
id: app-token
7878
with:
7979
# required
@@ -98,7 +98,7 @@ jobs:
9898
auto-format:
9999
runs-on: ubuntu-latest
100100
steps:
101-
- uses: actions/create-github-app-token@v1
101+
- uses: actions/create-github-app-token@v2
102102
id: app-token
103103
with:
104104
# required
@@ -135,7 +135,7 @@ jobs:
135135
hello-world:
136136
runs-on: ubuntu-latest
137137
steps:
138-
- uses: actions/create-github-app-token@v1
138+
- uses: actions/create-github-app-token@v2
139139
id: app-token
140140
with:
141141
app-id: ${{ vars.APP_ID }}
@@ -157,7 +157,7 @@ jobs:
157157
hello-world:
158158
runs-on: ubuntu-latest
159159
steps:
160-
- uses: actions/create-github-app-token@v1
160+
- uses: actions/create-github-app-token@v2
161161
id: app-token
162162
with:
163163
app-id: ${{ vars.APP_ID }}
@@ -182,7 +182,7 @@ jobs:
182182
hello-world:
183183
runs-on: ubuntu-latest
184184
steps:
185-
- uses: actions/create-github-app-token@v1
185+
- uses: actions/create-github-app-token@v2
186186
id: app-token
187187
with:
188188
app-id: ${{ vars.APP_ID }}
@@ -207,7 +207,7 @@ jobs:
207207
hello-world:
208208
runs-on: ubuntu-latest
209209
steps:
210-
- uses: actions/create-github-app-token@v1
210+
- uses: actions/create-github-app-token@v2
211211
id: app-token
212212
with:
213213
app-id: ${{ vars.APP_ID }}
@@ -249,7 +249,7 @@ jobs:
249249
owners-and-repos: ${{ fromJson(needs.set-matrix.outputs.matrix) }}
250250
251251
steps:
252-
- uses: actions/create-github-app-token@v1
252+
- uses: actions/create-github-app-token@v2
253253
id: app-token
254254
with:
255255
app-id: ${{ vars.APP_ID }}
@@ -279,7 +279,7 @@ jobs:
279279
steps:
280280
- name: Create GitHub App token
281281
id: create_token
282-
uses: actions/create-github-app-token@v1
282+
uses: actions/create-github-app-token@v2
283283
with:
284284
app-id: ${{ vars.GHES_APP_ID }}
285285
private-key: ${{ secrets.GHES_APP_PRIVATE_KEY }}
@@ -318,7 +318,7 @@ steps:
318318
echo "private-key=$private_key" >> "$GITHUB_OUTPUT"
319319
- name: Generate GitHub App Token
320320
id: app-token
321-
uses: actions/create-github-app-token@v1
321+
uses: actions/create-github-app-token@v2
322322
with:
323323
app-id: ${{ vars.APP_ID }}
324324
private-key: ${{ steps.decode.outputs.private-key }}

0 commit comments

Comments
 (0)