Skip to content

Commit 5b4df1d

Browse files
authored
fix: typo in slackbot (#8623)
* fix: typo in workflow * fix: typo in workflow
1 parent cd26589 commit 5b4df1d

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/notify-slack.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,11 @@ on:
99
jobs:
1010
notify-slack:
1111
runs-on: ubuntu-latest
12-
if: (github.event_name == 'pull_request' && github.event.label.name == 'pr/external') || github.event_name == 'issues'
1312
permissions:
1413
contents: read
1514
steps:
1615
- name: Send External PR Notification
17-
if: github.event_name == 'pull_request'
16+
if: github.event_name == 'pull_request' && github.event.label.name == 'pr/external'
1817
uses: rtCamp/action-slack-notify@e31e87e03dd19038e411e38ae27cbad084a90661 # v2
1918
env:
2019
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
@@ -23,11 +22,11 @@ jobs:
2322
MSG_MINIMAL: true
2423
SLACK_MESSAGE: '${{ github.event.pull_request.html_url }}'
2524
- name: Send New Issue Notification
26-
if: github.event_name == 'issues'
25+
if: github.event_name == 'issue'
2726
uses: rtCamp/action-slack-notify@e31e87e03dd19038e411e38ae27cbad084a90661 # v2
2827
env:
2928
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
3029
SLACK_TITLE: 'Issue Created: ${{ github.event.issue.title }} by ${{ github.event.issue.user.login }}'
3130
SLACK_FOOTER: ''
3231
MSG_MINIMAL: true
33-
SLACK_MESSAGE: '${{ github.event.issue.html_url }}'
32+
SLACK_MESSAGE: '${{ github.event.issue.html_url }}'

0 commit comments

Comments
 (0)