Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 16 additions & 12 deletions .github/workflows/sync_copilot.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
name: Sync Copilot Instructions

on:
schedule:
- cron: "0 20 * * 4"
workflow_dispatch:
inputs:
common_workflows_ref:
description: "Branch to sync from"
required: false
type: string
default: main
schedule:
- cron: '0 6 * * 1'

jobs:
sync-copilot:
uses: NHSDigital/eps-common-workflows/.github/workflows/sync_copilot.yml@f3d19a678a725917a5c59cae4d76db621bb7c9c7
with:
common_workflows_ref: ${{ inputs.common_workflows_ref }}
sync-copilot-instructions:
runs-on: ubuntu-22.04
environment: create_pull_request
permissions:
contents: read

steps:
- name: Sync shared instructions
uses: NHSDigital/eps-copilot-instructions@08241b83de78b996e7796806be8435314e9f0b7a
with:
common_workflows_ref: main
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 }}
Loading