actions: push: paths
This commit is contained in:
parent
465538429e
commit
9222919990
1 changed files with 3 additions and 1 deletions
|
@ -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) }}
|
||||
|
|
Loading…
Add table
Reference in a new issue