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

Send the notification to different channels based on status #307

Merged
merged 1 commit into from
Jan 23, 2023

Conversation

tisutisu
Copy link
Contributor

Change the codeQL workflow send notification to helm_dev or helm_notify channels based on job status.
Also added change to stop CodeQL analysis job to run on forked repos.

Copy link
Collaborator

@mmulholla mmulholla left a comment

Choose a reason for hiding this comment

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

Minor change required

if: ${{ always() && github.event_name == 'schedule'}}
- name: Send message to helm_dev slack channel
id: notify_dev
if: ${{ always() && github.event_name == 'schedule' && steps.codeql_analysis.conclusion != 'success' }}
Copy link
Collaborator

Choose a reason for hiding this comment

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

You have the checks reversed. this should be == "success" and failure message should be != sucsess

Copy link
Contributor Author

Choose a reason for hiding this comment

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

My bad. Fixed it on the latest commit.

Copy link
Collaborator

@mmulholla mmulholla left a comment

Choose a reason for hiding this comment

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

LGTM

@mmulholla mmulholla merged commit bab70e0 into redhat-certification:main Jan 23, 2023
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.

None yet

2 participants