Make workflow targets more specific (#87)

This ensures that:
- Acceptance tests ar run on Pull requests
- Lint is run on `main`
- The workflows are executed only once on PRs
This commit is contained in:
Eduard Filip
2024-12-17 11:04:57 +01:00
committed by GitHub
parent 555e0c6a63
commit 734cd437f8
2 changed files with 8 additions and 2 deletions

View File

@@ -1,4 +1,7 @@
on: pull_request on:
push:
branch: [main]
pull_request:
name: Lint name: Lint
jobs: jobs:

View File

@@ -1,4 +1,7 @@
on: push on:
push:
branch: [main]
pull_request:
name: Run acceptance tests name: Run acceptance tests
jobs: jobs: