Skip to content

Chore: [AEA-0000] - add dependabot approve schedule#144

Merged
anthony-nhs merged 1 commit intomainfrom
add_dependabot_schedule
Apr 20, 2026
Merged

Chore: [AEA-0000] - add dependabot approve schedule#144
anthony-nhs merged 1 commit intomainfrom
add_dependabot_schedule

Conversation

@anthony-nhs
Copy link
Copy Markdown
Contributor

Add Dependabot schedule to the repository

Copilot AI review requested due to automatic review settings April 20, 2026 14:18
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a scheduled GitHub Actions workflow to auto-approve dependency update PRs, and removes the previous Dependabot auto-approve job from the pull request workflow.

Changes:

  • Removed the Dependabot auto-approve/auto-merge reusable-workflow job from the PR workflow.
  • Added a new scheduled workflow (auto_approve_dependabot.yml) to auto-approve dependency updates.
  • Deleted the .github/CODEOWNERS protections for workflow changes.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/pull_request.yml Removes the Dependabot auto-approve/merge job from the PR workflow.
.github/workflows/auto_approve_dependabot.yml Adds a scheduled workflow to auto-approve dependency update PRs using NHSDigital/eps-dependabot-approve.
.github/CODEOWNERS Removes workflow ownership restrictions for .github/workflows/.
Comments suppressed due to low confidence (1)

.github/CODEOWNERS:1

  • Deleting the CODEOWNERS rule that required @NHSDigital/eps-admins to own .github/workflows/ removes an important protection against unauthorized workflow changes (workflows can access privileged tokens/secrets). Consider keeping a CODEOWNERS entry for workflows (either in .github/CODEOWNERS or a root CODEOWNERS) so workflow edits still require admin review.

Comment thread .github/workflows/auto_approve_dependabot.yml
Comment thread .github/workflows/pull_request.yml
@sonarqubecloud
Copy link
Copy Markdown

@anthony-nhs anthony-nhs changed the title Docs: [AEA-0000] - add Dependabot schedule Chore: [AEA-0000] - add dependabot approve schedule Apr 20, 2026
@anthony-nhs anthony-nhs merged commit ba4bcd7 into main Apr 20, 2026
14 checks passed
@anthony-nhs anthony-nhs deleted the add_dependabot_schedule branch April 20, 2026 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants