actions: push: paths

This commit is contained in:
Earl Warren 2024-01-13 17:20:15 +01:00
parent 465538429e
commit 9222919990
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -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) }}