mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[Fleet] Fix github token fetching in QA label action (#126445)
This commit is contained in:
parent
2597dfc2df
commit
e2dd796bdf
1 changed files with 3 additions and 3 deletions
6
.github/workflows/label-qa-fixed-in.yml
vendored
6
.github/workflows/label-qa-fixed-in.yml
vendored
|
@ -16,7 +16,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
# Only run on PRs that were merged for the Fleet team
|
||||
if: |
|
||||
github.event.pull_request.merged_at &&
|
||||
github.event.pull_request_target.merged == true &&
|
||||
contains(github.event.pull_request.labels.*.name, 'Team:Fleet')
|
||||
outputs:
|
||||
matrix: ${{ steps.issues_to_label.outputs.value }}
|
||||
|
@ -45,7 +45,7 @@ jobs:
|
|||
}
|
||||
prnumber: ${{ github.event.number }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: sergeysova/jq-action@v2
|
||||
id: issues_to_label
|
||||
with:
|
||||
|
@ -84,4 +84,4 @@ jobs:
|
|||
issueid: ${{ matrix.issueNodeId }}
|
||||
labelids: ${{ needs.fetch_issues_to_label.outputs.label_ids }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue