-
Notifications
You must be signed in to change notification settings - Fork 1
Chore: [AEA-0000] - fix sync copilot workflow #1052
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 |
|---|---|---|
|
|
@@ -22,7 +22,7 @@ updates: | |
| commit-message: | ||
| prefix: "Upgrade: [dependabot] - " | ||
| cooldown: | ||
| default-days: 3 | ||
| default-days: 7 | ||
| ################################### | ||
|
Comment on lines
22
to
26
|
||
| # Poetry ######################### | ||
| ################################### | ||
|
|
@@ -37,7 +37,7 @@ updates: | |
| prefix: "Upgrade: [dependabot] - " | ||
| versioning-strategy: increase | ||
| cooldown: | ||
| default-days: 3 | ||
| default-days: 7 | ||
| ################################### | ||
| # NPM workspace ################## | ||
| ################################### | ||
|
|
@@ -54,4 +54,4 @@ updates: | |
| registries: | ||
| - npm-github | ||
| cooldown: | ||
| default-days: 3 | ||
| default-days: 7 | ||
| 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@f3d19a678a725917a5c59cae4d76db621bb7c9c7 | ||
| 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 }} |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -23,6 +23,26 @@ repos: | |||||
|
|
||||||
| - repo: local | ||||||
| hooks: | ||||||
| - id: check-commit-signing | ||||||
| name: Check commit signing | ||||||
| description: Ensures that commits are GPG signed | ||||||
| entry: bash | ||||||
| args: | ||||||
| - -c | ||||||
| - | | ||||||
| if ! git config --get commit.gpgsign | grep -q "true" > /dev/null 2>&1; then | ||||||
|
||||||
| if ! git config --get commit.gpgsign | grep -q "true" > /dev/null 2>&1; then | |
| if [ "$(git config --bool --get commit.gpgsign 2>/dev/null)" != "true" ]; then |
Copilot
AI
Apr 1, 2026
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.
The hook messaging says commits must be "GPG signed", but GitHub supports SSH commit signing as well; commit.gpgsign=true can be used with non-GPG signing formats depending on user config. To avoid misleading guidance, consider wording this as "commit signing" (or "signed commits") rather than specifically "GPG".
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.
Removing the
postAttachCommanddrops thegit-secrets --register-awsand custom deny rules setup. With no other references to these rules in the repo, developers using the devcontainer will no longer have those git-secrets patterns configured, reducing local secret-detection coverage. If this is intentional, consider migrating the rules setup into the pre-commit hook (or another repo-managed bootstrap step) so it remains consistently applied.