Skip to content

Commit 050b499

Browse files
authored
Move write permissions on job level in IncrementVersionNumber.yaml (microsoft#1396)
Move write permissions on job level in IncrementVersionNumber.yaml
1 parent e32b39f commit 050b499

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

Templates/AppSource App/.github/workflows/IncrementVersionNumber.yaml

+5-3
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ on:
2828

2929
permissions:
3030
actions: read
31-
contents: write
32-
id-token: write
33-
pull-requests: write
31+
contents: read
3432

3533
defaults:
3634
run:
@@ -44,6 +42,10 @@ jobs:
4442
IncrementVersionNumber:
4543
needs: [ ]
4644
runs-on: [ windows-latest ]
45+
permissions:
46+
contents: write
47+
id-token: write
48+
pull-requests: write
4749
steps:
4850
- name: Dump Workflow Information
4951
uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@main

Templates/Per Tenant Extension/.github/workflows/IncrementVersionNumber.yaml

+5-3
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ on:
2828

2929
permissions:
3030
actions: read
31-
contents: write
32-
id-token: write
33-
pull-requests: write
31+
contents: read
3432

3533
defaults:
3634
run:
@@ -44,6 +42,10 @@ jobs:
4442
IncrementVersionNumber:
4543
needs: [ ]
4644
runs-on: [ windows-latest ]
45+
permissions:
46+
contents: write
47+
id-token: write
48+
pull-requests: write
4749
steps:
4850
- name: Dump Workflow Information
4951
uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@main

0 commit comments

Comments
 (0)