Skip to content

Commit 8502565

Browse files
authored
Chore: [AEA-0000] - workflow to sync copilot (#1047)
## Summary - Routine Change ### Details - workflow to sync copilot
1 parent f87ab6c commit 8502565

5 files changed

Lines changed: 30 additions & 12 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ env:
99

1010
jobs:
1111
get_config_values:
12-
uses: NHSDigital/eps-common-workflows/.github/workflows/get-repo-config.yml@23342d86a245c076937abd6aecdd0ce06446b1e6
12+
uses: NHSDigital/eps-common-workflows/.github/workflows/get-repo-config.yml@f3d19a678a725917a5c59cae4d76db621bb7c9c7
1313
with:
1414
verify_published_from_main_image: true
1515
quality_checks:
16-
uses: NHSDigital/eps-common-workflows/.github/workflows/quality-checks-devcontainer.yml@23342d86a245c076937abd6aecdd0ce06446b1e6
16+
uses: NHSDigital/eps-common-workflows/.github/workflows/quality-checks-devcontainer.yml@f3d19a678a725917a5c59cae4d76db621bb7c9c7
1717
needs: [get_config_values]
1818
with:
1919
pinned_image: ${{ needs.get_config_values.outputs.pinned_image }}
@@ -32,7 +32,7 @@ jobs:
3232
3333
tag_release:
3434
needs: [quality_checks, get_commit_id, get_config_values]
35-
uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release-devcontainer.yml@5ac2707dd9cd60ad127275179495b9c890d74711
35+
uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release-devcontainer.yml@f3d19a678a725917a5c59cae4d76db621bb7c9c7
3636
permissions:
3737
id-token: 'write'
3838
contents: 'write'

.github/workflows/pull_request.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@ env:
1111

1212
jobs:
1313
get_config_values:
14-
uses: NHSDigital/eps-common-workflows/.github/workflows/get-repo-config.yml@23342d86a245c076937abd6aecdd0ce06446b1e6
14+
uses: NHSDigital/eps-common-workflows/.github/workflows/get-repo-config.yml@f3d19a678a725917a5c59cae4d76db621bb7c9c7
1515
with:
1616
verify_published_from_main_image: false
1717

1818
dependabot-auto-approve-and-merge:
19-
uses: NHSDigital/eps-common-workflows/.github/workflows/dependabot-auto-approve-and-merge.yml@23342d86a245c076937abd6aecdd0ce06446b1e6
19+
uses: NHSDigital/eps-common-workflows/.github/workflows/dependabot-auto-approve-and-merge.yml@f3d19a678a725917a5c59cae4d76db621bb7c9c7
2020
secrets:
2121
AUTOMERGE_APP_ID: ${{ secrets.AUTOMERGE_APP_ID }}
2222
AUTOMERGE_PEM: ${{ secrets.AUTOMERGE_PEM }}
2323

2424
quality_checks:
25-
uses: NHSDigital/eps-common-workflows/.github/workflows/quality-checks-devcontainer.yml@23342d86a245c076937abd6aecdd0ce06446b1e6
25+
uses: NHSDigital/eps-common-workflows/.github/workflows/quality-checks-devcontainer.yml@f3d19a678a725917a5c59cae4d76db621bb7c9c7
2626
needs: [get_config_values]
2727
with:
2828
pinned_image: ${{ needs.get_config_values.outputs.pinned_image }}
@@ -31,7 +31,7 @@ jobs:
3131

3232
pr_title_format_check:
3333
if: github.event_name != 'merge_group'
34-
uses: NHSDigital/eps-common-workflows/.github/workflows/pr_title_check.yml@23342d86a245c076937abd6aecdd0ce06446b1e6
34+
uses: NHSDigital/eps-common-workflows/.github/workflows/pr_title_check.yml@f3d19a678a725917a5c59cae4d76db621bb7c9c7
3535

3636
get_issue_number:
3737
runs-on: ubuntu-22.04
@@ -82,7 +82,7 @@ jobs:
8282
tag_release:
8383
if: github.event_name != 'merge_group'
8484
needs: [get_config_values]
85-
uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release-devcontainer.yml@5ac2707dd9cd60ad127275179495b9c890d74711
85+
uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release-devcontainer.yml@f3d19a678a725917a5c59cae4d76db621bb7c9c7
8686
permissions:
8787
id-token: 'write'
8888
contents: 'write'

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ env:
88

99
jobs:
1010
get_config_values:
11-
uses: NHSDigital/eps-common-workflows/.github/workflows/get-repo-config.yml@23342d86a245c076937abd6aecdd0ce06446b1e6
11+
uses: NHSDigital/eps-common-workflows/.github/workflows/get-repo-config.yml@f3d19a678a725917a5c59cae4d76db621bb7c9c7
1212
with:
1313
verify_published_from_main_image: true
1414
quality_checks:
15-
uses: NHSDigital/eps-common-workflows/.github/workflows/quality-checks-devcontainer.yml@23342d86a245c076937abd6aecdd0ce06446b1e6
15+
uses: NHSDigital/eps-common-workflows/.github/workflows/quality-checks-devcontainer.yml@f3d19a678a725917a5c59cae4d76db621bb7c9c7
1616
needs: [get_config_values]
1717
with:
1818
pinned_image: ${{ needs.get_config_values.outputs.pinned_image }}
@@ -31,7 +31,7 @@ jobs:
3131
3232
tag_release:
3333
needs: [quality_checks, get_commit_id, get_config_values]
34-
uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release-devcontainer.yml@5ac2707dd9cd60ad127275179495b9c890d74711
34+
uses: NHSDigital/eps-common-workflows/.github/workflows/tag-release-devcontainer.yml@f3d19a678a725917a5c59cae4d76db621bb7c9c7
3535
permissions:
3636
id-token: 'write'
3737
contents: 'write'

.github/workflows/sync_copilot.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Sync Copilot Instructions
2+
3+
on:
4+
schedule:
5+
- cron: "0 20 * * 4"
6+
workflow_dispatch:
7+
inputs:
8+
common_workflows_ref:
9+
description: "Branch to sync from"
10+
required: false
11+
type: string
12+
default: main
13+
14+
jobs:
15+
sync-copilot:
16+
uses: NHSDigital/eps-common-workflows/.github/workflows/sync_copilot.yml@f3d19a678a725917a5c59cae4d76db621bb7c9c7
17+
with:
18+
common_workflows_ref: ${{ inputs.common_workflows_ref }}

.github/workflows/update_dev_container_version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
update_devcontainer_version:
10-
uses: NHSDigital/eps-common-workflows/.github/workflows/update-dev-container-version.yml@23342d86a245c076937abd6aecdd0ce06446b1e6
10+
uses: NHSDigital/eps-common-workflows/.github/workflows/update-dev-container-version.yml@f3d19a678a725917a5c59cae4d76db621bb7c9c7
1111
permissions:
1212
contents: read
1313
packages: read

0 commit comments

Comments
 (0)