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