Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 21, 2025

Bumps actions/checkout from 5 to 6.

Release notes

Sourced from actions/checkout's releases.

v6.0.0

What's Changed

Full Changelog: actions/checkout@v5.0.0...v6.0.0

v6-beta

What's Changed

Updated persist-credentials to store the credentials under $RUNNER_TEMP instead of directly in the local git config.

This requires a minimum Actions Runner version of v2.329.0 to access the persisted credentials for Docker container action scenarios.

v5.0.1

What's Changed

Full Changelog: actions/checkout@v5...v5.0.1

Changelog

Sourced from actions/checkout's changelog.

Changelog

V6.0.0

V5.0.1

V5.0.0

V4.3.1

V4.3.0

v4.2.2

v4.2.1

v4.2.0

v4.1.7

v4.1.6

v4.1.5

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependabot Pull requests created by Dependabot dependencies Pull requests that update a dependency file github-actions GitHub Actions workflow dependencies labels Nov 21, 2025
@github-actions
Copy link

💡 Tip: Consider Using Draft PRs

Benefits of opening PRs as drafts initially:

  • 💰 Saves CI runtime and Copilot review credits
  • 🎯 Automatically sets linked issues to "🚧 In Progress" status
  • 🚀 Mark "Ready for review" when done to trigger full CI pipeline

How to convert:

  1. Click "Still in progress? Convert to draft" in the sidebar, OR
  2. Use gh pr ready when ready for review

This is just a friendly reminder - feel free to continue as is! 😊

@github-actions
Copy link

⚠️ MAJOR version update detected

This is a MAJOR version update which may contain breaking changes.

Action required:

  1. Review the changelog for breaking changes
  2. Update code if necessary
  3. Verify all tests pass
  4. Merge manually after verification

Current auto-merge policy (Phase 1):

  • ✅ PATCH updates: Auto-merge
  • 🔍 MINOR updates: Manual review
  • ⚠️ MAJOR updates: Manual review

See policy: SecPal/.github/.github/workflows/reusable-dependabot-auto-merge.yml

kevalyq added a commit to SecPal/.github that referenced this pull request Nov 21, 2025
Problem:
- Codecov was configured with require_ci_to_pass: true
- This caused Dependabot PRs to fail codecov checks even though:
  - GitHub Actions workflows use continue-on-error for dependabot
  - Token uploads may fail for security reasons
  - All other CI checks pass successfully

Solution:
- Set require_ci_to_pass: false (GitHub Actions is already a required check)
- Set if_ci_failed: success (don't block PRs if CI has issues)
- Set wait_for_ci: false (don't wait for all CI to complete)

This allows Dependabot PRs to merge when all GitHub Actions pass,
even if codecov upload encounters issues due to missing secrets.

Fixes: SecPal/api#204
Fixes: SecPal/frontend#181
Fixes: SecPal/frontend#182
Fixes: SecPal/frontend#183
Fixes: SecPal/frontend#184
Fixes: SecPal/frontend#185
kevalyq added a commit to SecPal/.github that referenced this pull request Nov 21, 2025
Problem:
- Dependabot PRs in api and frontend were blocked by codecov checks
- Root cause: require_ci_to_pass: true + continue-on-error in workflows
- Codecov interpreted skipped uploads as failed CI and blocked PRs

Initial approach (WRONG):
- Set if_ci_failed: success
- This would disable coverage enforcement for ALL PRs
- Violates Critical Rule #10 (Code Coverage Enforcement)

Correct solution:
- Set require_ci_to_pass: false (GitHub Actions is required check)
- Set informational: true for project/patch coverage
- Keep if_ci_failed: error (accurate status reporting)

This allows:
✅ Dependabot PRs auto-merge when GitHub Actions pass
✅ Coverage data remains visible and tracked
✅ No coverage enforcement bypass (informational ≠ disabled)
✅ Manual review can still catch coverage drops

Technical distinction:
- if_ci_failed: success → reports success even with <80% coverage
- informational: true → reports status but doesn't block PRs

Fixes: SecPal/api#204
Fixes: SecPal/frontend#181
Fixes: SecPal/frontend#182
Fixes: SecPal/frontend#183
Fixes: SecPal/frontend#184
Fixes: SecPal/frontend#185
kevalyq added a commit to SecPal/.github that referenced this pull request Nov 21, 2025
Problem:
- Dependabot PRs in api and frontend were blocked by codecov checks
- Root cause: require_ci_to_pass: true caused Codecov to wait for CI
- Dependabot PRs use continue-on-error for uploads (no token access)
- Codecov saw no upload data and blocked PRs indefinitely

Solution:
- Set require_ci_to_pass: false (Codecov won't wait for CI)
- Keep informational: false (coverage REMAINS REQUIRED for normal PRs)
- Keep if_ci_failed: error (accurate status reporting)

How this works:
✅ Normal PRs: Upload succeeds → Coverage calculated → Must meet 80%
✅ Dependabot PRs: Upload skipped → No data → Codecov doesn't block
✅ Coverage enforcement maintained for developers
✅ No security compromise (continue-on-error preserved)

Manual step required:
⚠️ Mark codecov as optional check in GitHub Branch Protection
   to allow Dependabot merges when no coverage data exists

Related PRs (will auto-merge after this fix):
- SecPal/api#204
- SecPal/frontend#181, #182, #183, #184, #185
kevalyq added a commit to SecPal/.github that referenced this pull request Nov 21, 2025
* fix(codecov): allow Dependabot PRs without blocking coverage enforcement

Problem:
- Dependabot PRs in api and frontend were blocked by codecov checks
- Root cause: require_ci_to_pass: true caused Codecov to wait for CI
- Dependabot PRs use continue-on-error for uploads (no token access)
- Codecov saw no upload data and blocked PRs indefinitely

Solution:
- Set require_ci_to_pass: false (Codecov won't wait for CI)
- Keep informational: false (coverage REMAINS REQUIRED for normal PRs)
- Keep if_ci_failed: error (accurate status reporting)

How this works:
✅ Normal PRs: Upload succeeds → Coverage calculated → Must meet 80%
✅ Dependabot PRs: Upload skipped → No data → Codecov doesn't block
✅ Coverage enforcement maintained for developers
✅ No security compromise (continue-on-error preserved)

Manual step required:
⚠️ Mark codecov as optional check in GitHub Branch Protection
   to allow Dependabot merges when no coverage data exists

Related PRs (will auto-merge after this fix):
- SecPal/api#204
- SecPal/frontend#181, #182, #183, #184, #185

* docs: update CHANGELOG with automated branch protection fix

- Added note that codecov/patch was removed from required checks
- Removed manual step warning (automated via gh api)
- Added configure-codecov-optional.sh script for reference

Branch protection updated for:
- SecPal/api: codecov/patch removed ✓
- SecPal/frontend: codecov/patch removed ✓

* refactor: address remaining Copilot review comments

- Consolidate duplicate comments in .codecov.yml (DRY principle)
- Fix PR reference format consistency in CHANGELOG
- Clarify branch protection timeline (manual execution)
- Fix script logic to handle codecov-only check scenarios
- Improve grammar in CHANGELOG list formatting
@kevalyq kevalyq merged commit 77a2989 into main Nov 21, 2025
44 checks passed
@kevalyq kevalyq deleted the dependabot-github_actions-main-actions-checkout-6 branch November 21, 2025 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependabot Pull requests created by Dependabot dependencies Pull requests that update a dependency file github-actions GitHub Actions workflow dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants