Skip to content

Commit

Permalink
Fix logic error in uploader e2e test action (Qiskit#376)
Browse files Browse the repository at this point in the history
This test was being skipped when run as a cron job because there is no
"pull request". This PR adds another clause to fix that.
  • Loading branch information
frankharkins authored Nov 20, 2023
1 parent c46e37b commit deeeee7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/learning-uploader-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:
jobs:
e2e:
name: End-to-end test
if: github.event.pull_request.head.repo.full_name == github.repository
if: ${{ github.event_name == 'schedule' || github.event.pull_request.head.repo.full_name == github.repository }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit deeeee7

Please sign in to comment.