Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.github/workflows: notify slack for ci-core develop failures #11408

Merged
merged 1 commit into from
Nov 29, 2023

Conversation

jmank88
Copy link
Contributor

@jmank88 jmank88 commented Nov 29, 2023

Previously, we pushed slack notifications for linter failures and data races for nightly scheduled runs only. This PR expands notifications to all develop and merge queue jobs.

@jmank88 jmank88 requested a review from HenryNguyen5 November 29, 2023 13:07
Copy link
Contributor

I see that you haven't updated any README files. Would it make sense to do so?

@jmank88 jmank88 requested a review from a team November 29, 2023 13:07
@jmank88 jmank88 changed the title .github/workflows: notify slack for ci-core develop failues .github/workflows: notify slack for ci-core develop failures Nov 29, 2023
@cl-sonarqube-production
Copy link

SonarQube Quality Gate

Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@@ -29,7 +29,7 @@ jobs:
gc-basic-auth: ${{ secrets.GRAFANA_CLOUD_BASIC_AUTH }}
gc-host: ${{ secrets.GRAFANA_CLOUD_HOST }}
- name: Notify Slack
if: ${{ failure() && github.event.schedule != '' }}
if: ${{ failure() && (github.event_name == 'merge_group' || github.event.branch == 'develop')}}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be easier to invert this and to instead ignore any pull request events?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was worried about including release and master since we sometimes have weird situations there.

@jmank88 jmank88 marked this pull request as ready for review November 29, 2023 20:30
@jmank88 jmank88 requested a review from a team November 29, 2023 20:30
@jmank88 jmank88 added this pull request to the merge queue Nov 29, 2023
Merged via the queue into develop with commit 8005416 Nov 29, 2023
88 checks passed
@jmank88 jmank88 deleted the slack-notify branch November 29, 2023 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants