Skip to content

Commit

Permalink
Fix: Use runner for issue comment
Browse files Browse the repository at this point in the history
- Add missing `.yml` extension in reusable workflow references.
  • Loading branch information
raynelfss committed Dec 3, 2024
1 parent b346469 commit 9cd56b1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ jobs:
nightly-failure:
name: Create comment on failed test run
if: ${{ github.repository_owner == 'Qiskit' && failure() }}
uses: peter-evans/create-or-update-comment@v4
with:
issue-number: 7864
body: |
Nightly matrix test run failed at commit ${{ github.sha }}.
runs-on: ubuntu-latest
steps:
- uses: peter-evans/create-or-update-comment@v4
with:
issue-number: 7864
body: |
Nightly matrix test run failed at commit ${{ github.sha }}.
_Logs_: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}.
_Logs_: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}.
6 changes: 3 additions & 3 deletions .github/workflows/on-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ concurrency:

jobs:
nightly-linux:
uses: ./.github/workflows/test-linux
uses: ./.github/workflows/test-linux.yml
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
Expand All @@ -19,15 +19,15 @@ jobs:
test-rust: false
install-optionals: true
nightly-mac:
uses: ./.github/workflows/test-mac
uses: ./.github/workflows/test-mac.yml
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
with:
python-version: ${{ matrix.python-version }}
install-optionals: true
nightly-windows:
uses: ./.github/workflows/test-windows
uses: ./.github/workflows/test-windows.yml
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
tests-mac:
if: github.repository_owner == 'Qiskit'
uses: ./.github/workflows/test-mac
uses: ./.github/workflows/test-mac.yml
strategy:
matrix:
python-version: ["3.9", "3.13"]
Expand All @@ -18,7 +18,7 @@ jobs:
install-optionals: false
test-linux:
if: github.repository_owner == 'Qiskit'
uses: ./.github/workflows/test-mac
uses: ./.github/workflows/test-linux.yml
with:
python-version: "3.9"
test-rust: true
Expand Down

0 comments on commit 9cd56b1

Please sign in to comment.