Skip to content
Merged
Show file tree
Hide file tree
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
17 changes: 17 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,20 @@ updates:
commit-message:
prefix: "ci"
include: "scope"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
groups:
coatl-dev-actions:
patterns:
- "coatl-dev/actions/**"
coatl-dev-workflows:
patterns:
- "coatl-dev/workflows/**"
target-branch: "2027"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 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`.

labels: ["dependencies"]
commit-message:
prefix: "ci"
include: "scope"
2 changes: 1 addition & 1 deletion .github/workflows/pip-compile-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
branch: ['8.1', '8.3']
branch: ['8.1', '8.3', '2027']

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 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.

fail-fast: false
steps:
- name: Checkout repo
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit-autoupdate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
pre-commit-autoupdate:
strategy:
matrix:
branch: ['8.1', '8.3']
branch: ['8.1', '8.3', '2027']
fail-fast: false
uses: coatl-dev/workflows/.github/workflows/pre-commit-autoupdate.yml@65d1a1eda04de5bb54bd5057b3ebe4b7c8fa4b45 # v7.1.6
with:
Expand Down
Loading