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:
earl-warren 2024-01-13 17:02:14 +00:00
commit d1d87511f1

View file

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