ci: restrict workflows to main branch
This commit is contained in:
@@ -2,13 +2,14 @@ name: env-probe
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ["ci/**"]
|
||||
branches: [main]
|
||||
paths:
|
||||
- ".gitea/workflows/env-probe.yml"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
probe:
|
||||
if: gitea.ref == 'refs/heads/main'
|
||||
runs-on: ubuntu24.04-x64-lean4.35
|
||||
timeout-minutes: 15
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user