Skip to content

Dependabot: Remove stale github-actions entry and add cooldowns - #235

Open
pjkammer wants to merge 3 commits into
flutter:mainfrom
pjkammer:dependabot-config
Open

pjkammer wants to merge 3 commits into
flutter:mainfrom
pjkammer:dependabot-config

Conversation

@pjkammer

@pjkammer pjkammer commented Oct 8, 2026

Copy link
Copy Markdown
  • Removed the github-actions entry. Remove non-functional scorecard workflow #233 removed the repository's last GitHub Actions workflow, so this entry has nothing to update and its daily Dependabot job fails example.
  • Replaced 404 documentation link at the top of the file.
  • Added a 7-day cooldown to the remaining pub entries to satisfy dependabot-cooldown audit (this is the first Dependabot change in a while so it hadn't been previously checked). This matches the changes in add cooldown packages#12708. Verified this got rid of the warnings with a local zizmor run.

Changes under .github/ are test-exempt.

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read the Flutter Style Guide recently, and have followed its advice.
  • I signed the CLA.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is test-exempt.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

daily dependabot job was failing e.g.,
https://github.com/flutter/platform_tests/network/updates/1614131092
If someone adds a workflow in the future, they can add this back in.
The old URL 404s without a redirect. Replaced it with
a working one.
zizmor flags Dependabot's default 3-day cooldown, recommending a 7-day
cooldown to give time for problems with a new release to be caught
before it is proposed, so running it reports, for each pub entry,
something like:

     warning[dependabot-cooldown]: insufficient cooldown in Dependabot updates
       --> .github/dependabot.yml:18:5
        |
     18 |   - package-ecosystem: "pub"
        |     ^^^^^^^^^^^^^^^^^^^^^^^^ missing cooldown configuration
        |
        = note: audit confidence → High
        = note: this finding has an auto-fix
        = help: audit documentation → https://docs.zizmor.sh/audits/#dependabot-cooldown

This commit is the change generated by `zizmor --fix=safe` and matches
the fix in flutter/packages#12708.
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.

1 participant