Skip to content

ci: run the scans only when they have something to scan - #148

Merged
tamnd merged 2 commits into
mainfrom
ci-scans-on-code
Oct 27, 2026
Merged

tamnd merged 2 commits into
mainfrom
ci-scans-on-code

Conversation

@tamnd

@tamnd tamnd commented Oct 27, 2026

Copy link
Copy Markdown
Owner

The pipeline merges a pull request of data into math2 each hour. Each merge started four workflows: check, codeql (two jobs), scorecard and pages. The runners of the account are slow, so the pages deploy waited behind the scans. Today the deploy of 1d3f90f waited about 25 minutes.

  • codeql reads only the Python code and the workflows. It now runs on a push or a pull request only when a .py file or a file in .github/ changes. The weekly run stays.
  • scorecard reads the settings and the workflows of the repository. It now runs each week and by hand, and not on each push.

check and pages do not change.

@tamnd tamnd added type: ci Changes the workflows or the build. area: pipeline The automatic import pipeline labels Oct 27, 2026
@tamnd

tamnd commented Oct 27, 2026

Copy link
Copy Markdown
Owner Author

The change is only to the triggers of two workflows. I read both files on the branch, and the YAML keeps its form. The runners are slow, so I merge with admin rights.

@tamnd
tamnd merged commit 13dd9cd into main Oct 27, 2026
8 of 9 checks passed
@tamnd
tamnd deleted the ci-scans-on-code branch October 27, 2026 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: pipeline The automatic import pipeline type: ci Changes the workflows or the build.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant