Skip to content

Commit 2cb0ac0

Browse files
authored
ci: slack channel update (#125)
1 parent c476496 commit 2cb0ac0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/dependabot-notifications.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ on:
99
jobs:
1010
notify-checks:
1111
runs-on: ubuntu-latest
12-
1312
if: github.actor == 'dependabot[bot]'
1413
steps:
1514
- name: Get PR Information
15+
if: github.actor == 'dependabot[bot]'
1616
id: get-pr-info
1717
uses: actions/github-script@v6
1818
with:
@@ -111,11 +111,11 @@ jobs:
111111
}
112112
113113
- name: Send Slack Notification for Success
114-
if: env.SHOULD_NOTIFY == 'true' && env.ALL_CHECKS_STATUS == 'success'
114+
if: env.SHOULD_NOTIFY == 'true' && env.ALL_CHECKS_STATUS == 'success' && github.actor == 'dependabot[bot]'
115115
id: slack
116116
uses: slackapi/[email protected]
117117
with:
118-
channel-id: 'C012YFE3D6D'
118+
channel-id: 'C08TLGVQ6V8'
119119
slack-message: |
120120
Repository: ${{ github.repository }}
121121
Title: ${{ env.PR_TITLE }}

0 commit comments

Comments
 (0)