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

ci: send notifications to teams channel #895

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

miampf
Copy link
Contributor

@miampf miampf commented Sep 27, 2024

Add the post_to_teams github action that allows a workflow to post into the Contrast-CI-Notifications channel. Furthermore, integrate this action into weekly running actions.

@miampf miampf added the no changelog PRs not listed in the release notes label Sep 27, 2024
@katexochen katexochen changed the title ci: Send notifications to teams channel ci: send notifications to teams channel Sep 27, 2024
run: |
curl \
-H "Content-Type: application/json" \
-d '{"workflow_name": "${{github.workflow}}", "job_id": "${{github.job}}", "run_id": "${{github.run_id}}", "ref": "${{github.ref_name}}", "message": "${{inputs.message}}"}' \
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we quote the message string, or at least document what it may and may not contain?

@katexochen
Copy link
Member

We should use a card like with Constellation and provide a direct link/button to the logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no changelog PRs not listed in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants