Skip to content

Commit

Permalink
CI: only run e2e checks if needed
Browse files Browse the repository at this point in the history
  • Loading branch information
BacLuc committed Jun 16, 2024
1 parent 8c5c2d2 commit c955622
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,30 @@ jobs:
]
do_not_skip: '["workflow_dispatch", "schedule"]'

e2e-check-needed:
runs-on: ubuntu-latest
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@v5
with:
concurrent_skipping: 'same_content_newer'
skip_after_successful_duplicate: 'true'
paths: |
[
".github/workflows/continuous-integration.yml",
"api/**",
"common/**",
"e2e/**",
"frontend/**",
"pdf/**",
"print/**",
"docker-compose.yml",
".env.ci"
]
do_not_skip: '["workflow_dispatch", "schedule"]'

api-cs-check:
name: 'Lint: API (php-cs-fixer)'
runs-on: ubuntu-latest
Expand Down

0 comments on commit c955622

Please sign in to comment.