darker icon indicating copy to clipboard operation
darker copied to clipboard

chore: update github-actions

Open reneleonhardt opened this issue 4 months ago • 3 comments

Chores

  • Update github-actions
  • Let dependabot update github-actions and pip

reneleonhardt avatar Sep 03 '25 10:09 reneleonhardt

Notes

  • It would be great if unnecessary CI jobs would be skipped in forks (i.e. safety requiring license keys)
  • It would be nice if main.py wouldn't fail if running in forks (akaihola/darker is hardcoded there, GITHUB_REPOSITORY contains the actual repo)

reneleonhardt avatar Sep 03 '25 10:09 reneleonhardt

  • Update github-actions

@reneleonhardt, do you mean to update all 3rd party GitHub actions used in workflows to most current versions?

  • Let dependabot update github-actions and pip

I assume this would be done by following the Enabling dependabot for your repository instructions?

  • It would be great if unnecessary CI jobs would be skipped in forks (i.e. safety requiring license keys)

Do you have a recipe for how to make this happen?

  • It would be nice if main.py wouldn't fail if running in forks (akaihola/darker is hardcoded there, GITHUB_REPOSITORY contains the actual repo)

Cool, that makes sense. So essentially just replace akaihola/darker by GITHUB_REPOSITORY everywhere in workflows?

akaihola avatar Oct 21 '25 20:10 akaihola

@reneleonhardt ah, oops, it's late and I thought I was reading an issue and not a PR – so you did most of this already in your changes. Thanks!

akaihola avatar Oct 21 '25 20:10 akaihola