Skip to content

Commit e4aabf5

Browse files
authored
Quick fix: add expression notation to stale label comment if && condition
1 parent fb62d05 commit e4aabf5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/community-issue-comment.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
on:
1212
workflow_run:
13-
workflows: ["Label Stale Contributions"]
13+
workflows: [Label Stale Contributions]
1414
types:
1515
- completed
1616
issues:
@@ -51,7 +51,7 @@
5151
# 'Label Stale Contributions' workflow runs
5252
# Returns: Posts warning comment tagging assignee
5353
stale-label-comment:
54-
if: github.event.action == 'labeled' && github.event.label.name == 'stale'
54+
if: ${{ github.event.action == 'labeled' && github.event.label.name == 'stale' }}
5555
runs-on: ubuntu-latest
5656
steps:
5757
- name: Post stale issue comment
@@ -65,4 +65,4 @@
6565
repo: context.repo.repo,
6666
issue_number: context.payload.issue.number,
6767
body: `@${context.payload.issue.assignee.login} As per Chayn policy, after 30 days of inactivity, we will be unassigning this issue. Please comment to stay assigned.`
68-
})
68+
})

0 commit comments

Comments
 (0)