Secure Qodana PR workflow runner
This commit is contained in:
@@ -9,12 +9,12 @@ on:
|
||||
|
||||
jobs:
|
||||
qodana:
|
||||
# Run on our self-hosted runner to avoid GitHub-hosted Actions budget limits.
|
||||
runs-on: [self-hosted, Linux, X64, default]
|
||||
# Use GitHub-hosted runners for PR scans so untrusted code never runs on persistent internal infrastructure.
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
checks: write
|
||||
contents: read
|
||||
pull-requests: read
|
||||
checks: read
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user