Skip to content

Commit

Permalink
#0: Try to log some more
Browse files Browse the repository at this point in the history
  • Loading branch information
ayerofieiev-tt authored Jun 28, 2024
1 parent ebb005a commit b6bc098
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/on-community-issue.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: "Slack Notification on Community Issue"

on:
push:
on:
issues:
types: [opened, labeled]

Expand All @@ -15,6 +14,7 @@ jobs:
uses: actions/github-script@v7
with:
script: |
console.log(context.payload)
const issue = context.payload.issue;
if (!issue || issue.pull_request) {
console.log("This event is not an issue or is a pull request.");
Expand All @@ -25,7 +25,7 @@ jobs:
const hasRequiredLabel = labels.includes(requiredLabel);
return hasRequiredLabel;
- name: Send Slack Notification
if: steps.label-check.outputs.result == 'false'
if: steps.label-check.outputs.result == 'true'
uses: slackapi/[email protected]
with:
payload: |
Expand Down

0 comments on commit b6bc098

Please sign in to comment.