ci: route trusted security and workflow checks to self-hosted (#370)

This commit is contained in:
Will Sarg 2026-02-16 10:58:45 -05:00 committed by Chummy
parent 8e23cbc596
commit a7d19b332e
2 changed files with 4 additions and 4 deletions

View file

@ -21,7 +21,7 @@ env:
jobs: jobs:
audit: audit:
name: Security Audit name: Security Audit
runs-on: ubuntu-latest runs-on: ${{ github.event_name != 'pull_request' && fromJSON('["self-hosted","Linux","X64","lxc-ci"]') || 'ubuntu-latest' }}
timeout-minutes: 20 timeout-minutes: 20
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -37,7 +37,7 @@ jobs:
deny: deny:
name: License & Supply Chain name: License & Supply Chain
runs-on: ubuntu-latest runs-on: ${{ github.event_name != 'pull_request' && fromJSON('["self-hosted","Linux","X64","lxc-ci"]') || 'ubuntu-latest' }}
timeout-minutes: 20 timeout-minutes: 20
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4

View file

@ -22,7 +22,7 @@ permissions:
jobs: jobs:
no-tabs: no-tabs:
runs-on: ubuntu-latest runs-on: ${{ github.event_name == 'push' && fromJSON('["self-hosted","Linux","X64","lxc-ci"]') || 'ubuntu-latest' }}
timeout-minutes: 10 timeout-minutes: 10
steps: steps:
- name: Checkout - name: Checkout
@ -55,7 +55,7 @@ jobs:
PY PY
actionlint: actionlint:
runs-on: ubuntu-latest runs-on: ${{ github.event_name == 'push' && fromJSON('["self-hosted","Linux","X64","lxc-ci"]') || 'ubuntu-latest' }}
timeout-minutes: 10 timeout-minutes: 10
steps: steps:
- name: Checkout - name: Checkout