Skip to content

Commit 6090b7e

Browse files
📖Docs: Update README.md with new use cases (#227)
## Description This pull request updates the workflow configuration in the `README.md` to enhance automation and permissions, and to use the latest workflow version. The most important changes are: **Workflow triggers and scheduling:** * Added `workflow_dispatch` and a nightly scheduled run (`cron: '0 0 * * *'`) to allow manual and automated executions of the workflow. **Permissions:** * Expanded required permissions to include `statuses`, `pages`, and `id-token` in addition to `contents` and `pull-requests`. **Workflow version:** * Updated the referenced workflow from version `v2` to `v5` for the `Process-PSModule` job.
1 parent ea29e6b commit 6090b7e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ To use the workflow, create a new file in the `.github/workflows` directory of t
7979
name: Process-PSModule
8080

8181
on:
82+
workflow_dispatch:
83+
schedule:
84+
- cron: '0 0 * * *'
8285
pull_request:
8386
branches:
8487
- main
@@ -96,10 +99,13 @@ concurrency:
9699
permissions:
97100
contents: write
98101
pull-requests: write
102+
statuses: write
103+
pages: write
104+
id-token: write
99105

100106
jobs:
101107
Process-PSModule:
102-
uses: PSModule/Process-PSModule/.github/workflows/workflow.yml@v2
108+
uses: PSModule/Process-PSModule/.github/workflows/workflow.yml@v5
103109
secrets:
104110
APIKEY: ${{ secrets.APIKEY }}
105111

0 commit comments

Comments
 (0)