Skip to content

ci: merge devel into master (commit check removed, CODEOWNERS) - #303

Merged
fstagni merged 8 commits into
DIRACGrid:masterfrom
aldbr:merge/devel-into-master
Nov 24, 2026
Merged

fstagni merged 8 commits into
DIRACGrid:masterfrom
aldbr:merge/devel-into-master

Conversation

@aldbr

@aldbr aldbr commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Part of DIRACGrid/.github#5. Replaces #302: same commits as devel, pushed from a fork so that the last pusher is not the reviewer.

On master the Commit Message Check workflow no longer starts: its action is not on the organization's list of allowed actions. devel already dropped it (#294) and checks the convention in pre-commit. This brings master in line, with the ruff rules of #296 and the CODEOWNERS file of #301.

🤖 Generated with Claude Code

fstagni and others added 8 commits November 19, 2026 09:43
Replace the semantic.yml commit message check with the org-standard
setup (as in diracx):

- drop semantic.yml and the archived gsactions/commit-message-checker
- extend .pre-commit-config.yaml with the conventional-pre-commit hook
  (commit-msg stage, like diracx) plus default_install_hook_types, so
  contributors get the convention enforced at commit time
- release notes are unaffected: they are taken from the PR description,
  not from commit messages

Note: with merge commits kept in the history, individual commit
messages are no longer gated by CI - the convention is enforced locally
only (accepted decision, DIRACGrid/.github#5).

Part of DIRACGrid/.github#5.
chore: drop the commit message CI check, enforce the convention locally
Replaces the bandit-based approach of DIRACGrid#295 (closed): the repos already
linting with ruff get bandit's checks from ruff's S (flake8-bandit)
ruleset instead, like diracx, intercede and signurlarity.

- add S to the ruff select, with documented ignores mirroring the
  bandit skips: the pilot bootstraps itself on worker nodes, so
  downloading over URLs and starting processes is its core function by
  design; S110 (try-except-pass) is skipped as best-effort cleanup must
  never abort the pilot
- S311 is allowed in tests only (pseudo-random test data)
- migrate lint settings to [tool.ruff.lint] (the old top-level layout
  is deprecated) and ignore B905 (zip strict= needs Python 3.10)
- make ruff check clean: sort imports and drop an unused import in
  tests, noqa the retStatus placeholder kept for its TODO
chore: cover flake8-bandit checks with ruff's S rules
…github-actions

chore(deps): update dependency ubuntu to v26 (devel)
chore: require a release manager's review for .github/ changes
@fstagni
fstagni merged commit f630126 into DIRACGrid:master Nov 24, 2026
28 checks passed
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