Skip to content

Commit

Permalink
[Fleet] Fix matrix configuration in QA labeling job (elastic#126906)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshdover authored Mar 4, 2022
1 parent 10249bc commit 1174ac0
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/label-qa-fixed-in.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,16 @@ jobs:
label_issues:
needs: fetch_issues_to_label
runs-on: ubuntu-latest

# For each issue closed by the PR x each label to apply, run this job
if: |
fromJSON(needs.fetch_issues_to_label.outputs.issue_ids).length > 0 &&
fromJSON(needs.fetch_issues_to_label.outputs.label_ids).length > 0
strategy:
matrix:
issueId: ${{ fromJSON(needs.fetch_issues_to_label.outputs.issue_ids) || [] }}
labelId: ${{ fromJSON(needs.fetch_issues_to_label.outputs.label_ids) || [] }}
issueId: ${{ fromJSON(needs.fetch_issues_to_label.outputs.issue_ids) }}
labelId: ${{ fromJSON(needs.fetch_issues_to_label.outputs.label_ids) }}

name: Label issue ${{ matrix.issueId }} with ${{ matrix.labelId }}
steps:
- uses: octokit/[email protected]
Expand Down

0 comments on commit 1174ac0

Please sign in to comment.