ci: restrict workflows to main branch
This commit is contained in:
@@ -11,7 +11,7 @@ on:
|
||||
|
||||
jobs:
|
||||
expand-root:
|
||||
if: ${{ github.event_name == 'workflow_dispatch' && inputs.confirm == 'EXPAND_RUNNER_ROOT' }}
|
||||
if: ${{ gitea.ref == 'refs/heads/main' && (github.event_name == 'workflow_dispatch' && inputs.confirm == 'EXPAND_RUNNER_ROOT') }}
|
||||
runs-on: ubuntu24.04-x64-lean4.35
|
||||
timeout-minutes: 20
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user