We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5602cc4 commit a206511Copy full SHA for a206511
.github/workflows/ready-to-merge-workflow.yml
@@ -19,9 +19,11 @@ jobs:
19
- name: Check for exact 'ready-to-merge' label
20
if: ${{ inputs.is-pr }}
21
id: check-label
22
+ env:
23
+ LABELS: ${{ inputs.labels }}
24
run: |
25
# Use jq to check for exact label match (avoids substring matching issues with contains())
- if echo '${{ inputs.labels }}' | jq -e '.[] | select(.name == "ready-to-merge")' > /dev/null; then
26
+ if echo "$LABELS" | jq -e '.[] | select(.name == "ready-to-merge")' > /dev/null; then
27
echo "label_found=true" >> $GITHUB_OUTPUT
28
else
29
echo "label_found=false" >> $GITHUB_OUTPUT
0 commit comments