Skip to content

Commit 77dc2fa

Browse files
authored
fix: Update GitHub app token action usage in workflows (#2266)
1 parent 459e89a commit 77dc2fa

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/github-teams-check-existance.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838
# Set agent up
3939
Set-EnvironmentOnAgent -PSModules $modules
4040

41-
- uses: tibdex/github-app-token@v2
41+
- uses: actions/create-github-app-token@v2
4242
id: generate-token
4343
with:
44-
app_id: ${{ secrets.TEAM_LINTER_APP_ID }}
45-
private_key: ${{ secrets.TEAM_LINTER_PRIVATE_KEY }}
44+
app-id: ${{ secrets.TEAM_LINTER_APP_ID }}
45+
private-key: ${{ secrets.TEAM_LINTER_PRIVATE_KEY }}
4646

4747
- name: "Compare Bicep Owners Resource Teams"
4848
if: always()

.github/workflows/platform.apiSpecs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ jobs:
4646
# Set agent up
4747
Set-EnvironmentOnAgent -PSModules $modules
4848

49-
- uses: tibdex/github-app-token@v2
49+
- uses: actions/create-github-app-token@v2
5050
id: generate-token
5151
with:
52-
app_id: ${{ secrets.APP_ID }}
53-
private_key: ${{ secrets.APP_PRIVATE_KEY }}
52+
app-id: ${{ secrets.APP_ID }}
53+
private-key: ${{ secrets.APP_PRIVATE_KEY }}
5454

5555
- name: Configure local git
5656
run: |

.github/workflows/platform.updateModuleRegistryTables.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ jobs:
3535
path: bicep-registry-modules
3636
fetch-depth: 0
3737

38-
- uses: tibdex/github-app-token@v2
38+
- uses: actions/create-github-app-token@v2
3939
id: generate-token
4040
with:
41-
app_id: ${{ secrets.APP_ID }}
42-
private_key: ${{ secrets.APP_PRIVATE_KEY }}
41+
app-id: ${{ secrets.APP_ID }}
42+
private-key: ${{ secrets.APP_PRIVATE_KEY }}
4343

4444
- name: Configure local git
4545
run: |

0 commit comments

Comments
 (0)