Skip to content

Commit

Permalink
Merge pull request #37 from edlerd/run-e2e-on-pull-request-target
Browse files Browse the repository at this point in the history
fix(ci) run end to end tests on pull request target event
  • Loading branch information
morphis authored Jun 26, 2024
2 parents e8c4ec3 + 1258431 commit b63a98e
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ on:
schedule:
# execute the action nightly
- cron: '0 10 * * *'
push:
branches:
- '**'
pull_request:
pull_request_target:
branches:
- '**'

Expand All @@ -22,10 +19,17 @@ defaults:

jobs:
e2e:
environment: ci-end-to-end
name: microbox, amd64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: actions/checkout@v4
with:
# Fetch all history for all branches and tags
fetch-depth: 0

- name: Check out the source branch
run: git checkout ${{ github.event.pull_request.head.ref }}

- name: Store current date and time in output
id: datetime
Expand Down

0 comments on commit b63a98e

Please sign in to comment.