From 9222919990f5d51079bfdc25dfade36d699d8ab1 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Sat, 13 Jan 2024 17:20:15 +0100 Subject: [PATCH] actions: push: paths --- actions/example-push/.forgejo/workflows/test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/actions/example-push/.forgejo/workflows/test.yml b/actions/example-push/.forgejo/workflows/test.yml index 323f2f8..89763f2 100644 --- a/actions/example-push/.forgejo/workflows/test.yml +++ b/actions/example-push/.forgejo/workflows/test.yml @@ -2,6 +2,8 @@ on: push: branches: - 'mai*' + paths: + - '**/test.yml' jobs: test: @@ -14,7 +16,7 @@ jobs: - name: save event run: | - d=/srv/example/pull-request/contexts/$GITHUB_EVENT_NAME + d=/srv/example/push/contexts/$GITHUB_EVENT_NAME mkdir -p $d cat > $d/github <<'EOF' ${{ toJSON(github) }}