-
Notifications
You must be signed in to change notification settings - Fork 279
refactor: replace PR assignee workflow with Slack channel notification #2328
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
base: main
Are you sure you want to change the base?
Changes from all commits
83b12e0
71b52d9
46f4eb0
6ac8860
d6de69c
95d87f5
2cdb2cb
0383df4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| name: Post PR to Slack | ||
|
|
||
| on: | ||
| pull_request_target: | ||
| types: | ||
| - opened | ||
| - ready_for_review | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Draft PRs trigger premature Slack notificationsLow Severity The Reviewed by Cursor Bugbot for commit 2cdb2cb. Configure here. |
||
| workflow_dispatch: | ||
| inputs: | ||
| pr_number: | ||
| description: 'PR number' | ||
| required: true | ||
| type: string | ||
| pr_title: | ||
| description: 'PR title' | ||
| required: true | ||
| type: string | ||
| pr_url: | ||
| description: 'PR URL' | ||
| required: true | ||
| type: string | ||
| pr_author: | ||
| description: 'PR author' | ||
| required: true | ||
| type: string | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| notify: | ||
| uses: e2b-dev/.github/.github/workflows/pr-slack-notify.yml@main | ||
| secrets: | ||
| SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} | ||
| with: | ||
| channel_id: ${{ vars.SLACK_CHANNEL_ID }} | ||
| review_group: ${{ vars.SLACK_REVIEW_GROUP }} | ||
| pr_number: ${{ inputs.pr_number || '' }} | ||
| pr_title: ${{ inputs.pr_title || '' }} | ||
| pr_url: ${{ inputs.pr_url || '' }} | ||
| pr_author: ${{ inputs.pr_author || '' }} | ||


Uh oh!
There was an error while loading. Please reload this page.