Skip to content

Commit ad5317e

Browse files
vdemeestertekton-robot
authored andcommitted
.github/workflows: fix e2e-matrix-extras
The problem was that the workflow was trying to use context.issue.number and github.event.issue.number, which aren't available in repository_dispatch events. Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
1 parent b03f7e4 commit ad5317e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/e2e-matrix-extras.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
const pr = await github.rest.pulls.get({
3333
owner: context.repo.owner,
3434
repo: context.repo.repo,
35-
pull_number: context.issue.number
35+
pull_number: ${{ github.event.client_payload.github.payload.issue.number }}
3636
});
3737
core.setOutput('sha', pr.data.head.sha);
3838
@@ -63,7 +63,7 @@ jobs:
6363
needs: [run-if-requested]
6464
if: ${{ needs.run-if-requested.result == 'success' }}
6565
concurrency:
66-
group: ${{ github.workflow }}-${{ matrix.os }}-${{ matrix.k8s-name }}-${{ matrix.feature-flags }}-${{ github.event.issue.number }}
66+
group: ${{ github.workflow }}-${{ matrix.os }}-${{ matrix.k8s-name }}-${{ matrix.feature-flags }}-${{ github.event.client_payload.github.payload.issue.number }}
6767
cancel-in-progress: true
6868
name: e2e tests (extras)
6969
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)