mirror of
https://github.com/JG2401/HetznerDokployLab.git
synced 2026-08-29 04:30:10 +00:00
Fix label handling for auto-merge in workflow
This commit is contained in:
4
.github/workflows/dependabotautomerge.yml
vendored
4
.github/workflows/dependabotautomerge.yml
vendored
@@ -17,8 +17,8 @@ jobs:
|
||||
- name: Check for auto-merge label
|
||||
id: check
|
||||
run: |
|
||||
labels=$(jq -r '.pull_request.labels[].name' "$GITHUB_EVENT_PATH")
|
||||
echo "labels=$labels" >> $GITHUB_OUTPUT
|
||||
labels=$(jq -r '.pull_request.labels[].name' "$GITHUB_EVENT_PATH" | tr '\n' ' ')
|
||||
echo "labels=$labels" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Auto-merge
|
||||
if: contains(steps.check.outputs.labels, 'auto-merge')
|
||||
|
||||
Reference in New Issue
Block a user