Skip to content

Switch fix-linting to the hardened nf-core/actions reusable workflow - #37

Merged
mashehu merged 1 commit into
masterfrom
patch
Oct 7, 2026
Merged

mashehu merged 1 commit into
masterfrom
patch

Conversation

@mashehu

@mashehu mashehu commented Oct 7, 2026

Copy link
Copy Markdown
Member

This replaces the old fix-linting workflow (.github/workflows/fix_linting.yml, or .github/workflows/fix-linting.yml in pipelines created before nf-core/tools 3.3.0) with .github/workflows/fix-linting.yml, a short stub that calls the reusable fix-linting workflow from nf-core/actions (nf-core/tools#4485).

The old workflow ran the pull request's own lint hooks in a job that also held the nf-core-bot token. The reusable workflow checks who asked for the fix, runs the pull request's code without any secrets, and pushes the result from a separate job that never runs pull request code.

Commenting @nf-core-bot fix linting on a PR works as before. The next template sync makes the same change on dev.

@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown

Python linting (black) is failing

To keep the code consistent with lots of contributors, we run automated code consistency checks.
To fix this CI test, please run:

  • Install black: pip install black
  • Fix formatting errors in your pipeline: black .

Once you push these changes the test should pass, and you can hide this comment 👍

We highly recommend setting up Black in your code editor so that this formatting is done automatically on save. Ask about it on Slack for help!

Thanks again for your contribution!

@mashehu
mashehu merged commit 77bca28 into master Oct 7, 2026
4 of 8 checks passed
@mashehu
mashehu deleted the patch branch October 7, 2026 13:25
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.

2 participants