Skip to content

Commit

Permalink
Update integration tests trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikprijck committed Sep 19, 2023
1 parent db57a84 commit e3e6d86
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
name: Integration Tests

on:
merge_group:
workflow_dispatch:
pull_request:
branches:
- main
pull_request_target:
types:
- opened
- synchronize
push:
branches:
- main
Expand All @@ -13,14 +15,23 @@ permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

env:
NODE_VERSION: 18

jobs:

authorize:
name: Authorize
environment: ${{ github.actor != 'dependabot[bot]' && github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != github.repository && 'external' || 'internal' }}
runs-on: ubuntu-latest
steps:
- run: true

test-examples:
needs: authorize # Require approval before running on forked pull requests
name: Run example tests
runs-on: ubuntu-latest

Expand Down

0 comments on commit e3e6d86

Please sign in to comment.