diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml index 796f3f9a..a7d2dac6 100644 --- a/.github/dependabot.yaml +++ b/.github/dependabot.yaml @@ -5,6 +5,8 @@ updates: directory: "/" schedule: interval: "daily" + commit-message: + prefix: "CCM-9336: " cooldown: default-days: 7 @@ -12,6 +14,8 @@ updates: directory: "/" schedule: interval: "daily" + commit-message: + prefix: "CCM-9336: " cooldown: default-days: 7 @@ -19,6 +23,8 @@ updates: directory: "/" schedule: interval: "daily" + commit-message: + prefix: "CCM-9336: " cooldown: default-days: 7 exclude-paths: @@ -52,6 +58,8 @@ updates: directory: "/" schedule: interval: "daily" + commit-message: + prefix: "CCM-9336: " cooldown: default-days: 7 exclude-paths: @@ -61,5 +69,7 @@ updates: directory: "/" schedule: interval: "daily" + commit-message: + prefix: "CCM-9336: " cooldown: default-days: 7 diff --git a/.github/workflows/cicd-4-pr-title-check.yaml b/.github/workflows/cicd-4-pr-title-check.yaml new file mode 100644 index 00000000..a3358cdc --- /dev/null +++ b/.github/workflows/cicd-4-pr-title-check.yaml @@ -0,0 +1,20 @@ +name: "4. PR Title Check" + +on: + pull_request: + types: [opened, reopened, synchronize, edited] + branches: + - main + +permissions: + contents: read + +jobs: + check-pr-title: + name: "Check PR title" + runs-on: ubuntu-latest + steps: + - name: "Check PR title format" + uses: NHSDigital/nhs-notify-shared-modules/.github/actions/check-pr-title-format@3009a36549abae57bae8fe0119c2f3fed156a628 # 3.1.2 + with: + title: ${{ github.event.pull_request.title }} diff --git a/.github/workflows/manual-combine-dependabot-prs.yaml b/.github/workflows/manual-combine-dependabot-prs.yaml index 3e311ac5..8965f1d3 100644 --- a/.github/workflows/manual-combine-dependabot-prs.yaml +++ b/.github/workflows/manual-combine-dependabot-prs.yaml @@ -19,6 +19,6 @@ jobs: with: ci_required: false labels: dependencies - pr_title: Combined Dependabot PRs + pr_title: "CCM-9336: Combined Dependabot PRs" combine_branch_name: dependabotCombined - pr_body_header: Combined Dependabot PRs + pr_body_header: "CCM-9336: Combined Dependabot PRs"