We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bcd2c2f commit 702f4a2Copy full SHA for 702f4a2
1 file changed
.github/workflows/sync-issue-labels-add.yml
@@ -104,7 +104,10 @@ jobs:
104
- name: Determine if labels should be applied
105
id: should_apply
106
run: |
107
- if [ "${{ steps.validate.outputs.valid_payload }}" != "true" ]; then
+ if [ "${{ steps.read.outputs.is_fork_pr }}" = "true" ]; then
108
+ echo "apply=true" >> "$GITHUB_OUTPUT"
109
+ echo "reason=fork PR" >> "$GITHUB_OUTPUT"
110
+ elif [ "${{ steps.validate.outputs.valid_payload }}" != "true" ]; then
111
echo "apply=false" >> "$GITHUB_OUTPUT"
112
echo "reason=invalid payload" >> "$GITHUB_OUTPUT"
113
elif [ "${{ steps.read.outputs.source_event }}" = "workflow_dispatch" ] && [ "${{ steps.read.outputs.dry_run }}" = "true" ]; then
0 commit comments