mirror of
https://codeberg.org/git-pages/git-pages.git
synced 2026-08-17 09:26:04 +00:00
CI: run on all branches, but package only on main branch.
This is required for Renovate to work properly.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user