diff --git a/.github/actionlint.yaml b/.github/actionlint.yaml new file mode 100644 index 0000000..2cd970c --- /dev/null +++ b/.github/actionlint.yaml @@ -0,0 +1,6 @@ +self-hosted-runner: + labels: + - flight-arcade-docker + - flight-arcade-pr + - lilserver + - pr-isolated diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4f3da44..d9b9e3a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ permissions: jobs: verify: - runs-on: ubuntu-24.04 + runs-on: ${{ fromJSON(github.event_name == 'pull_request' && '["self-hosted","pr-isolated","flight-arcade-pr"]' || '["self-hosted","flight-arcade-docker","lilserver"]') }} steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 @@ -51,7 +51,7 @@ jobs: publish: if: github.event_name == 'workflow_dispatch' needs: verify - runs-on: ubuntu-24.04 + runs-on: ["self-hosted","flight-arcade-docker","lilserver"] permissions: contents: write actions: read