Skip to content

Commit

Permalink
Tweak learning-uploader test action (#777)
Browse files Browse the repository at this point in the history
Fixes a couple of quirks discovered during #760.

- Fixed job skipping when run as `workflow_dispatch`
- Fixed link to logs in issue body
  • Loading branch information
frankharkins authored Feb 7, 2024
1 parent 4c78e75 commit ef3875b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .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_name == 'schedule' || github.event.pull_request.head.repo.full_name == github.repository }}
if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || github.event.pull_request.head.repo.full_name == github.repository }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
script: |
const message = `Today's scheduled e2e test of the upload tool failed.
Please [check the logs](https://github.com/Qiskit/documentation/actions/runs/${context.workflow}).
Please [check the logs](https://github.com/Qiskit/documentation/actions/runs/${{ github.run_id }}/).
> [!NOTE]
> This issue was created by a GitHub action.
Expand Down

0 comments on commit ef3875b

Please sign in to comment.