Skip to content

Commit

Permalink
Quick fix: add expression notation to stale label comment if && condi…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
kyleecodes authored Nov 26, 2024
1 parent fb62d05 commit e4aabf5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/community-issue-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

on:
workflow_run:
workflows: ["Label Stale Contributions"]
workflows: [Label Stale Contributions]
types:
- completed
issues:
Expand Down Expand Up @@ -51,7 +51,7 @@
# 'Label Stale Contributions' workflow runs
# Returns: Posts warning comment tagging assignee
stale-label-comment:
if: github.event.action == 'labeled' && github.event.label.name == 'stale'
if: ${{ github.event.action == 'labeled' && github.event.label.name == 'stale' }}
runs-on: ubuntu-latest
steps:
- name: Post stale issue comment
Expand All @@ -65,4 +65,4 @@
repo: context.repo.repo,
issue_number: context.payload.issue.number,
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.`
})
})

0 comments on commit e4aabf5

Please sign in to comment.