Merge pull request 'actions: push: paths' (#65) from earl-warren/end-to-end:wip-event into main
Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/65 Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
This commit is contained in:
commit
d1d87511f1
1 changed files with 3 additions and 1 deletions
|
@ -2,6 +2,8 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'mai*'
|
- 'mai*'
|
||||||
|
paths:
|
||||||
|
- '**/test.yml'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
|
@ -14,7 +16,7 @@ jobs:
|
||||||
|
|
||||||
- name: save event
|
- name: save event
|
||||||
run: |
|
run: |
|
||||||
d=/srv/example/pull-request/contexts/$GITHUB_EVENT_NAME
|
d=/srv/example/push/contexts/$GITHUB_EVENT_NAME
|
||||||
mkdir -p $d
|
mkdir -p $d
|
||||||
cat > $d/github <<'EOF'
|
cat > $d/github <<'EOF'
|
||||||
${{ toJSON(github) }}
|
${{ toJSON(github) }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue