From e4aabf5e9fae68db456a2d4104d5711d5132beb1 Mon Sep 17 00:00:00 2001 From: Kylee Fields <43586156+kyleecodes@users.noreply.github.com> Date: Mon, 25 Nov 2024 21:04:13 -0500 Subject: [PATCH] Quick fix: add expression notation to stale label comment if && condition --- .github/workflows/community-issue-comment.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/community-issue-comment.yml b/.github/workflows/community-issue-comment.yml index ac471765..cdb09368 100644 --- a/.github/workflows/community-issue-comment.yml +++ b/.github/workflows/community-issue-comment.yml @@ -10,7 +10,7 @@ on: workflow_run: - workflows: ["Label Stale Contributions"] + workflows: [Label Stale Contributions] types: - completed issues: @@ -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 @@ -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.` - }) \ No newline at end of file + })