Repository navigation
ci: add 2027 branch - #106
Conversation
Reviewer's GuideConfigurationAdd monthly Dependabot updates for GitHub Actions targeting the 2027 branch, with grouped updates and CI commit-message settings.
Include the 2027 branch in the pip-compile upgrade and pre-commit autoupdate workflow matrices.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey - I've found 2 issues
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path=".github/dependabot.yml" line_range="48" />
<code_context>
+ coatl-dev-workflows:
+ patterns:
+ - "coatl-dev/workflows/**"
+ target-branch: "2027"
+ labels: ["dependencies"]
+ commit-message:
</code_context>
<issue_to_address>
**2027 updates skip repository checks**
When an automated dependency or maintenance update opens a pull request targeting `2027`, the `ci` workflow only matches pushes and pull requests targeting `8.3`, so its pre-commit, pylint, and tox jobs do not run and the update PR can merge without repository checks.
Add `2027` to the branch filters for the CI workflow's push and pull request events.
Also at `.github/workflows/pip-compile-upgrade.yml:13`, `.github/workflows/pre-commit-autoupdate.yml:12`.
</issue_to_address>
### Comment 2
<location path=".github/workflows/pip-compile-upgrade.yml" line_range="13" />
<code_context>
strategy:
matrix:
- branch: ['8.1', '8.3']
+ branch: ['8.1', '8.3', '2027']
fail-fast: false
steps:
</code_context>
<issue_to_address>
**Older locks replace newer updates**
When two `2027` pip-compile runs overlap and the newer run pushes first, both runs force-push to the same upgrade branch, so the older run can replace the newer run's dependency locks with results from its earlier checkout, leaving the PR with stale versions.
Serialize the `2027` runs or prevent an older run from pushing after a newer run.
</issue_to_address>Sourcery assessment
Approval pending. 2 findings to address first.
Blocking findings: .github/dependabot.yml:48, .github/workflows/pip-compile-upgrade.yml:13
| coatl-dev-workflows: | ||
| patterns: | ||
| - "coatl-dev/workflows/**" | ||
| target-branch: "2027" |
There was a problem hiding this comment.
🟡 Medium · 2027 updates skip repository checks
When an automated dependency or maintenance update opens a pull request targeting 2027, the ci workflow only matches pushes and pull requests targeting 8.3, so its pre-commit, pylint, and tox jobs do not run and the update PR can merge without repository checks.
Add 2027 to the branch filters for the CI workflow's push and pull request events.
Also at .github/workflows/pip-compile-upgrade.yml:13, .github/workflows/pre-commit-autoupdate.yml:12.
Prompt for AI agents
In `.github/dependabot.yml` at line 48:
**2027 updates skip repository checks**
When an automated dependency or maintenance update opens a pull request targeting `2027`, the `ci` workflow only matches pushes and pull requests targeting `8.3`, so its pre-commit, pylint, and tox jobs do not run and the update PR can merge without repository checks.
Add `2027` to the branch filters for the CI workflow's push and pull request events.
Also at `.github/workflows/pip-compile-upgrade.yml:13`, `.github/workflows/pre-commit-autoupdate.yml:12`.| strategy: | ||
| matrix: | ||
| branch: ['8.1', '8.3'] | ||
| branch: ['8.1', '8.3', '2027'] |
There was a problem hiding this comment.
🟡 Medium · Older locks replace newer updates
When two 2027 pip-compile runs overlap and the newer run pushes first, both runs force-push to the same upgrade branch, so the older run can replace the newer run's dependency locks with results from its earlier checkout, leaving the PR with stale versions.
Serialize the 2027 runs or prevent an older run from pushing after a newer run.
Prompt for AI agents
In `.github/workflows/pip-compile-upgrade.yml` at line 13:
**Older locks replace newer updates**
When two `2027` pip-compile runs overlap and the newer run pushes first, both runs force-push to the same upgrade branch, so the older run can replace the newer run's dependency locks with results from its earlier checkout, leaving the PR with stale versions.
Serialize the `2027` runs or prevent an older run from pushing after a newer run.
Summary by Sourcery
Add CI maintenance coverage for the 2027 branch.
Enhancements:
CI: