1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/modules/actions
ChristopherHX 6840258c95
Use GitHub Actions compatible globbing for branches, tag, path filter (#22804)
Replaces the current globbing library with a
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet
compatible one.

This adds support for
- `paths-ignore`, `tags-ignore` and `branches-ignore` filters.
- negative patterns in `paths`, `tags` and `branches` filters
- using both `tags` and `paths` filter on the push event

Original PR https://gitea.com/gitea/act/pulls/13.
nektos/act PR https://github.com/nektos/act/pull/1618 for the
workflowpattern package (It can take some months for it to appear in
https://gitea.com/gitea/act)

Related to https://github.com/go-gitea/gitea/issues/13539
2023-03-27 16:27:40 +08:00
..
github_test.go Improve workflow event triggers (#23613) 2023-03-23 12:04:15 +08:00
github.go Improve workflow event triggers (#23613) 2023-03-23 12:04:15 +08:00
log.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00
task_state_test.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00
task_state.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00
workflows.go Use GitHub Actions compatible globbing for branches, tag, path filter (#22804) 2023-03-27 16:27:40 +08:00