Skip to content

Commit b264a8a

Browse files
Restore workflow shape and bump Process-PSModule v6.1.14
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent d2efc83 commit b264a8a

1 file changed

Lines changed: 8 additions & 26 deletions

File tree

.github/workflows/Process-PSModule.yml

Lines changed: 8 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -18,34 +18,16 @@ concurrency:
1818
group: ${{ github.workflow }}-${{ github.ref }}
1919
cancel-in-progress: true
2020

21-
permissions: {}
21+
permissions:
22+
contents: write
23+
pull-requests: write
24+
statuses: write
25+
pages: write
26+
id-token: write
2227

2328
jobs:
24-
Process-PSModule-PR:
25-
if: github.event_name == 'pull_request' && github.event.action != 'closed'
26-
permissions:
27-
contents: read
28-
pull-requests: write
29-
statuses: write
30-
uses: PSModule/Process-PSModule/.github/workflows/workflow.yml@fb1bdb8fefd243292f779d2a856a38db6fe6daf4 # v6.1.13
31-
with:
32-
ImportantFilePatterns: |
33-
^src/
34-
^tests/
35-
^README\.md$
36-
secrets:
37-
APIKey: ${{ secrets.APIKey }}
38-
TestData: ${{ secrets.TestData }}
39-
40-
Process-PSModule-Release:
41-
if: github.event_name != 'pull_request' || github.event.action == 'closed'
42-
permissions:
43-
contents: write
44-
pull-requests: write
45-
statuses: write
46-
pages: write
47-
id-token: write
48-
uses: PSModule/Process-PSModule/.github/workflows/workflow.yml@fb1bdb8fefd243292f779d2a856a38db6fe6daf4 # v6.1.13
29+
Process-PSModule:
30+
uses: PSModule/Process-PSModule/.github/workflows/workflow.yml@b11b310e461f08ee99055b0827ef7909dea7110a # v6.1.14
4931
with:
5032
ImportantFilePatterns: |
5133
^src/

0 commit comments

Comments
 (0)