Skip to content

Commit 702f4a2

Browse files
committed
chore: update token for github test 9
Signed-off-by: Manish Dait <daitmanish88@gmail.com>
1 parent bcd2c2f commit 702f4a2

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/sync-issue-labels-add.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,10 @@ jobs:
104104
- name: Determine if labels should be applied
105105
id: should_apply
106106
run: |
107-
if [ "${{ steps.validate.outputs.valid_payload }}" != "true" ]; then
107+
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
108111
echo "apply=false" >> "$GITHUB_OUTPUT"
109112
echo "reason=invalid payload" >> "$GITHUB_OUTPUT"
110113
elif [ "${{ steps.read.outputs.source_event }}" = "workflow_dispatch" ] && [ "${{ steps.read.outputs.dry_run }}" = "true" ]; then

0 commit comments

Comments
 (0)