Skip to content

mesh-2815: automate dependabot#17

Merged
alexhawdon merged 9 commits into
developfrom
mesh-2815-automate-dependabot
Jun 2, 2026
Merged

mesh-2815: automate dependabot#17
alexhawdon merged 9 commits into
developfrom
mesh-2815-automate-dependabot

Conversation

@james-bradley-nhs
Copy link
Copy Markdown
Contributor

No description provided.

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

Automates Dependabot handling for this Flutter app: adds Dependabot config (pub + github-actions), an auto-merge workflow, Slack notification on failed Dependabot PR checks, and pins existing workflow actions to commit SHAs. Also migrates Sonar from SonarCloud to SonarQube scan action with coverage upload, updates the widget tests to the modern tester.view API, refreshes pubspec.lock to current pub.dev hashes/versions, ignores the coverage/ directory, and removes the now-ignored coverage/lcov.info.

Changes:

  • Adds Dependabot config, auto-merge workflow, and Slack notification for Dependabot PR failures.
  • Pins all GitHub Actions in release.yml / pull-request.yml to commit SHAs and switches to sonarqube-scan-action with flutter test --coverage.
  • Modernises widget tests (tester.view + addTearDown), refreshes pubspec.lock, ignores coverage/, and deletes the committed lcov.info.

Reviewed changes

Copilot reviewed 8 out of 11 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
.github/dependabot.yml New Dependabot config for pub and github-actions, grouped daily with cooldown.
.github/workflows/dependabot-auto-merge.yaml New workflow to auto-approve and enable auto-merge on Dependabot PRs via a GitHub App token.
.github/workflows/pull-request.yml Pins actions to SHAs, switches to SonarQube scan, runs tests with coverage, and adds Slack notification on Dependabot failures.
.github/workflows/release.yml Pins actions to SHAs and adds a sonar-scan job running coverage + SonarQube scan.
.github/workflows/scheduled-combine-dependabot-prs.yaml Pins github/combine-prs to SHA (v5.2.0).
.gitallowed Allows GITHUB_TOKEN reference in the new Dependabot auto-merge workflow.
.gitignore Ignores the coverage/ directory.
coverage/lcov.info Removes the previously-committed coverage report.
sonar-project.properties Removes projectVersion, adds sources, tests, test.inclusions, and dart.lcov.reportPaths.
pubspec.lock Updates package versions/URLs to pub.dev and adds sha256 hashes; bumps SDK constraints.
test/widget_test.dart Replaces deprecated setSurfaceSize/window.physicalSizeTestValue with tester.view + addTearDown resets.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/release.yml Outdated
Comment thread .github/workflows/pull-request.yml Outdated
Comment thread .github/workflows/dependabot-auto-merge.yaml
Comment thread .github/workflows/dependabot-auto-merge.yaml
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 1, 2026

@alexhawdon alexhawdon merged commit d8b0a21 into develop Jun 2, 2026
5 checks passed
@alexhawdon alexhawdon deleted the mesh-2815-automate-dependabot branch June 2, 2026 08:32
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.

4 participants