Skip to content

Commit

Permalink
Update cherry-pick.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mashetty330 committed Aug 7, 2023
1 parent d796001 commit b947fc7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/cherry-pick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:
run: |
if [ "${{ github.event.pull_request.merged }}" == "true" ]; then
# Extract the version label
#LABEL=$(node -e "const label = require('@actions/github').context.payload.pull_request.labels.find(label => /^cherry-pick-release-[0-9]+\.[0-9]+$/.test(label.name)); console.log(label?.name || 'None');")
LABEL=$(node -e "const labels = require('@actions/github').context.payload.pull_request.labels;
const cherryPickReleaseLabels = labels.filter(label => /^cherry-pick-release-[0-9]+\.[0-9]+$/.test(label.name)).map(label => label.name);
Expand Down

0 comments on commit b947fc7

Please sign in to comment.