ci: Cypress-only-fixes label workflow fix-II (#24981)
## Description - This PR fixes the Add Cypress-Only-Fixes Label on PR Merge workflow
This commit is contained in:
parent
106410d7ea
commit
8e6eaf826c
6
.github/workflows/add-label.yml
vendored
6
.github/workflows/add-label.yml
vendored
|
|
@ -3,6 +3,8 @@ on:
|
|||
pull_request:
|
||||
types:
|
||||
- closed
|
||||
branches:
|
||||
- release
|
||||
|
||||
jobs:
|
||||
add_label:
|
||||
|
|
@ -36,8 +38,8 @@ jobs:
|
|||
if: ${{ env.PR_MERGED == 'true' && steps.check_files_changed.outputs.files_changed_count > 0 }}
|
||||
uses: actions/github-script@v6
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
script: |
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
script: |
|
||||
const issue = context.issue;
|
||||
const labelToAdd = 'cypress-flaky-fix';
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user