Skip to content

fix(ci): add setup-python to CodeQL for self-hosted runner#26

Merged
GeiserX merged 2 commits intomainfrom
fix/ci-self-hosted-setup
Apr 21, 2026
Merged

fix(ci): add setup-python to CodeQL for self-hosted runner#26
GeiserX merged 2 commits intomainfrom
fix/ci-self-hosted-setup

Conversation

@GeiserX
Copy link
Copy Markdown
Owner

@GeiserX GeiserX commented Apr 20, 2026

Summary

  • CodeQL Python analysis requires Python to be installed on the runner
  • GitHub-hosted runners have Python pre-installed, but self-hosted bare-bones runners do not
  • Adds actions/setup-python@v5 (Python 3.12) before CodeQL init step

Audit findings (all 8 workflows reviewed)

Workflow Status
build.yml OK - already has setup-python
codeql.yml FIXED - was missing setup-python
dockerhub-description.yml OK - no tool dependencies
docs.yml OK - already has setup-python
lint.yml OK - already has setup-python
release.yml OK - only uses git/actions
stale.yml OK - no tool dependencies
test.yml OK - already has setup-python

CodeQL Python analysis needs Python installed. On GitHub-hosted runners
this is pre-installed, but self-hosted runners are bare-bones and need
an explicit actions/setup-python step.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 20, 2026

Warning

Rate limit exceeded

@GeiserX has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 44 minutes and 58 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 44 minutes and 58 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 4b1a799b-b6e1-47f6-8b72-7ddff6e3be26

📥 Commits

Reviewing files that changed from the base of the PR and between 43a4941 and 5866370.

📒 Files selected for processing (2)
  • .github/workflows/codeql.yml
  • .github/workflows/test.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/ci-self-hosted-setup

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Self-hosted runner lacks system tzdata, causing tzlocal to fail
resolving Europe/Madrid timezone with Python 3.14's zoneinfo module.
@GeiserX GeiserX merged commit e04f2f4 into main Apr 21, 2026
6 of 7 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.

1 participant