-
Notifications
You must be signed in to change notification settings - Fork 1
Chore: [AEA-0000] - sync copilot #119
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,22 @@ | ||||||||
| name: Sync Copilot Instructions | ||||||||
|
|
||||||||
| on: | ||||||||
| workflow_dispatch: | ||||||||
| schedule: | ||||||||
| - cron: '0 6 * * 1' | ||||||||
|
|
||||||||
| jobs: | ||||||||
| sync-copilot-instructions: | ||||||||
| runs-on: ubuntu-22.04 | ||||||||
| environment: create_pull_request | ||||||||
| permissions: | ||||||||
| contents: read | ||||||||
|
||||||||
| contents: read | |
| contents: write | |
| pull-requests: write |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,19 +1,23 @@ | ||
| name: Update Devcontainer Version | ||
| name: Update devcontainer version | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| schedule: | ||
| - cron: "0 18 * * 4" | ||
| - cron: '0 6 * * 4' | ||
| permissions: {} | ||
|
|
||
| jobs: | ||
| update_devcontainer_version: | ||
| uses: NHSDigital/eps-common-workflows/.github/workflows/update-dev-container-version.yml@23342d86a245c076937abd6aecdd0ce06446b1e6 | ||
| update-devcontainer-version: | ||
| runs-on: ubuntu-22.04 | ||
| environment: create_pull_request | ||
| permissions: | ||
| contents: read | ||
| packages: read | ||
| pull-requests: write | ||
| with: | ||
| base_branch: main | ||
| secrets: | ||
| CREATE_PULL_REQUEST_APP_ID: ${{ secrets.CREATE_PULL_REQUEST_APP_ID }} | ||
| CREATE_PULL_REQUEST_PEM: ${{ secrets.CREATE_PULL_REQUEST_PEM }} | ||
|
|
||
| steps: | ||
| - name: Update devcontainer version | ||
| uses: NHSDigital/eps-update-devcontainer@dc3a8c5f11e7226ee4f5f2bb35bd0d1265092306 | ||
| with: | ||
| calling_repo_base_branch: main | ||
| CREATE_PULL_REQUEST_APP_ID: ${{ secrets.CREATE_PULL_REQUEST_APP_ID }} | ||
| CREATE_PULL_REQUEST_PEM: ${{ secrets.CREATE_PULL_REQUEST_PEM }} |
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.
environment: create_pull_requestwill apply any environment protection rules (e.g., required reviewers) to this scheduled job. If that environment is protected, the weekly cron run will queue awaiting approval. If you don’t need environment-scoped secrets/protections here, consider removing the environment to avoid gating scheduled runs.