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:
Aishwarya-U-R 2023-07-01 00:31:23 +05:30 committed by GitHub
parent 106410d7ea
commit 8e6eaf826c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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';