Private
Public Access
1
0

fix: quote "on" key in YAML to prevent boolean parsing

YAML 1.1 reserves "on" as a boolean keyword (meaning True).
Without quotes, Gitea Actions could not parse workflow triggers,
resulting in no jobs being scheduled. This quotes the key as "on":
to ensure it is parsed as a string event trigger key.
This commit is contained in:
2026-04-26 20:13:39 +00:00
parent 89e2b01eef
commit 4433c90390

View File

@ -1,6 +1,6 @@
name: CI/CD Pipeline name: CI/CD Pipeline
on: "on":
push: push:
branches: [ master, develop ] branches: [ master, develop ]
tags: [ 'v*' ] tags: [ 'v*' ]