-
Notifications
You must be signed in to change notification settings - Fork 1
Chore: [AEA-0000] - add workflow to update dev container #1026
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,19 @@ | ||||||
| name: Update Devcontainer Version | ||||||
|
|
||||||
| on: | ||||||
| workflow_dispatch: | ||||||
| schedule: | ||||||
| - cron: "0 18 * * 1" | ||||||
|
|
||||||
| jobs: | ||||||
| update_devcontainer_version: | ||||||
| uses: NHSDigital/eps-common-workflows/.github/workflows/update-dev-container-version.yml@d2a4595b1bfa59f04c7cecb080a126321d42a333 | ||||||
|
||||||
| uses: NHSDigital/eps-common-workflows/.github/workflows/update-dev-container-version.yml@d2a4595b1bfa59f04c7cecb080a126321d42a333 | |
| uses: NHSDigital/eps-common-workflows/.github/workflows/update-dev-container-version.yml@5ac2707 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This scheduled workflow relies on the repository default
GITHUB_TOKENpermissions (no explicitpermissions:block). For least-privilege and to avoid changes in repo/org defaults impacting behavior, explicitly set the minimal permissions required by the called reusable workflow (e.g., only what’s needed to open/update PRs and/or contents).