CI: run on all branches, but package only on main branch.

This is required for Renovate to work properly.
This commit is contained in:
Catherine
2025-10-26 05:02:01 +00:00
parent 30668be4a0
commit c93bc3a250
+1 -2
View File
@@ -2,9 +2,7 @@ name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
@@ -31,6 +29,7 @@ jobs:
go vet .
package:
if: ${{ forge.ref == 'refs/heads/main' }}
needs: [check]
runs-on: codeberg-small-lazy
container: