Earl Warren
29cc7e1a71
fix: allow expressions in action descriptions and incomplete action inputs ( #770 )
...
They are commonly used for documentation purposes and never evaluated.
<!--start release-notes-assistant-->
<!--URL:https://code.forgejo.org/forgejo/runner-- >
- bug fixes
- [PR](https://code.forgejo.org/forgejo/runner/pulls/770 ): <!--number 770 --><!--line 0 --><!--description Zml4OiBhbGxvdyBleHByZXNzaW9ucyBpbiBhY3Rpb24gZGVzY3JpcHRpb25zIGFuZCBpbmNvbXBsZXRlIGFjdGlvbiBpbnB1dHM=-->fix: allow expressions in action descriptions and incomplete action inputs<!--description-->
<!--end release-notes-assistant-->
Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/770
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
2025-07-31 04:35:19 +00:00
Earl Warren
c377159121
chore: use the same .golangci.yml as the runner & gofumpt over gofmt ( #206 )
...
To prepare for a smooth merge in the runner codebase.
- run with --fix for gofumpt and golangci
- manual edits for
- disabling useless package naming warning
- rename variables that had underscore in their name
- remove trailing else at the end of a few functions
Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/206
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
2025-07-28 12:26:41 +00:00
ChristopherHX
e489be545d
fix: schema validation for job if functions ( #2446 )
...
* fix: schema validation for job if functions
* Add Tests
* Update pkg/schema/schema.go
Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
* Update pkg/schema/schema.go
---------
Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
(cherry picked from commit f043eb7079a16dfcf54d1f44fe66795ff76e973a)
2025-07-11 14:12:22 +02:00
ChristopherHX
65ae238f17
feat: Validate GitHub Actions schema ( #2416 )
...
* feat: Validate GitHub Actions schema
**BREAKING** previously accepted workflows are now invalid
* update code
* fix tests
* Bump docker / fix lint
* fix test action due to moving the file
* remove unused function
* fix parsing additional functions
* fix allow int
* update docker dep, due to linter
(cherry picked from commit 64219df0f2155d75ffc4423dc93c1e80bb4740bc)
Conflicts:
go.mod
go.sum
pkg/model/workflow.go
trivial context conflict & go.mod upgrades
2025-07-11 14:12:22 +02:00