chore: Run e2e on merge to master (#655)

Run e2e on merge to master
This commit is contained in:
Anatolios Laskaris 2023-08-04 14:42:19 +03:00 committed by GitHub
parent 4b176c7684
commit dbb260a4a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,12 +7,21 @@ on:
- ".github/**"
- "!.github/workflows/e2e.yml"
- "!.github/workflows/e2e-label.yml"
- "!.github/workflows/snapshot.yml"
- "!.github/workflows/snapshot-*.yml"
types:
- "labeled"
- "synchronize"
- "opened"
- "reopened"
push:
branches:
- "master"
paths-ignore:
- "**.md"
- ".github/**"
- "!.github/workflows/e2e.yml"
- "!.github/workflows/e2e-label.yml"
- "!.github/workflows/snapshot-*.yml"
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
@ -21,7 +30,12 @@ concurrency:
jobs:
air-interpreter-wasm:
name: "aquavm"
if: github.event.pull_request.head.repo.fork != true && contains(github.event.pull_request.labels.*.name, 'e2e')
if: >
github.event_name == 'push' ||
(
contains(github.event.pull_request.labels.*.name, 'e2e') &&
!github.event.pull_request.head.repo.fork
)
uses: ./.github/workflows/snapshot-air-interpreter-wasm.yml
with:
ref: ${{ github.ref }}