diff options
author | ChristopherHX <christopher.homberger@web.de> | 2023-03-27 10:27:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-27 16:27:40 +0800 |
commit | 6840258c9593c0b8ffaf88af0e239d03ed2314d2 (patch) | |
tree | 30a78ec0dbd208615f8029d2aeecc4aff5dd7767 /routers/web/repo/actions/view.go | |
parent | e6e602fd8d35471f1e2f4a42669a1f17e76e0176 (diff) | |
download | gitea-6840258c9593c0b8ffaf88af0e239d03ed2314d2.tar.gz gitea-6840258c9593c0b8ffaf88af0e239d03ed2314d2.zip |
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
Diffstat (limited to 'routers/web/repo/actions/view.go')
0 files changed, 0 insertions, 0 deletions