Skip to content

ci: add Slack PR notification workflow#31

Open
stevefulme1 wants to merge 9 commits into
redhat-cop:mainfrom
stevefulme1:slack-pr-notifications
Open

ci: add Slack PR notification workflow#31
stevefulme1 wants to merge 9 commits into
redhat-cop:mainfrom
stevefulme1:slack-pr-notifications

Conversation

@stevefulme1

Copy link
Copy Markdown
Contributor

Summary

  • Adds a GitHub Actions workflow that sends Slack notifications on PR events (opened, closed/merged, reopened, and reviews)
  • Notifications go to the OVM Slack channel via incoming webhook
  • Requires SLACK_WEBHOOK_URL repo secret to be configured

Test plan

  • Add SLACK_WEBHOOK_URL secret to the repo
  • Open a test PR and verify Slack notification appears in channel
  • Verify merged PR notification works

🤖 Generated with Claude Code

@stevefulme1 stevefulme1 force-pushed the slack-pr-notifications branch from 2d8c044 to 21715b6 Compare June 18, 2026 12:43
@burigolucas burigolucas self-requested a review June 26, 2026 08:45
Send Slack notifications on PR open, close, merge, reopen, and review
events. GitHub context values are passed through env variables to
prevent shell injection via crafted PR titles or usernames.
@stevefulme1 stevefulme1 force-pushed the slack-pr-notifications branch from 21715b6 to ed3b2ed Compare June 26, 2026 15:21
Fix shellcheck SC2086 (unquoted variable) and SC2129 (individual
redirects) in the notification details step.

@burigolucas burigolucas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I fully agree with the new workflow, but please see my comments to some specific files that need to be addressed.

Comment thread CONTRIBUTING.md

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We have added very import information for first-time contributors and maintainers in this file which is removed by this PR. I suggest to remove this change and keep the original file from the target branch.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good catch — reverted CONTRIBUTING.md to keep the project-specific contribution guide. The scaffolding files shouldn't have been bundled with the workflow change.

Comment thread COPYING Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We already have the LICENSE file with the GNU GPL. What is the value for adding this new file?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Agreed — removed COPYING since LICENSE already covers GPL-3.0.

Comment thread SECURITY.md

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please, add a link to this file in the repository README under the section ## Documentation

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done — added SECURITY.md link to the README Documentation section.

- Revert CONTRIBUTING.md to preserve project-specific contribution guide
- Remove COPYING file (LICENSE already provides GPL-3.0)
- Add SECURITY.md link to README Documentation section
stevefulme1 added a commit to stevefulme1/openshift_virtualization_migration that referenced this pull request Jun 29, 2026
- Revert CODE_OF_CONDUCT.md, CONTRIBUTING.md to main (handled in PR redhat-cop#31)
- Remove COPYING and SECURITY.md (handled in PR redhat-cop#31)
- Add explicit permissions block to gitleaks workflow
- Bump gitleaks-action from v2 to v3
docs: regenerate network_mgmt README after OVN layer2 merge
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.

2 participants