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] Fix github external prs workflow #18480

Merged
merged 1 commit into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix workflow
  • Loading branch information
stefan-mysten committed Jul 1, 2024
commit 5809a1a337c1de6588856d480d1db04dc551120d
13 changes: 0 additions & 13 deletions .github/workflows/github-issues-monitor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,6 @@ on:
types: [opened]

jobs:
notify-prs:
name: Dispatch workflow to notify slack channel on PRs
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- name: Dispatch github-issues-external-prs-monitor in MystenLabs/sui-operations
uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # pin@v3.0.0
with:
repository: MystenLabs/sui-operations
token: ${{ secrets.DOCKER_BINARY_BUILDS_DISPATCH }}
event-type: github-issues-external-prs-monitor
client-payload: '{"author": "${{github.event.pull_request.user.login}}", "event_name": "pull_request", "pull_request_number": "${{github.event.pull_request.number}}"}'

notify-issues:
name: Dispatch workflow to notify slack channel on issues
if: github.event_name == 'issues'
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,16 @@ jobs:
- uses: actions/labeler@9fd24f1f9d6ceb64ba34d181b329ee72f99978a0
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

notify-prs:
name: Dispatch workflow to notify slack channel on PRs
runs-on: ubuntu-latest
steps:
- name: Dispatch github-issues-external-prs-monitor in MystenLabs/sui-operations
uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # pin@v3.0.0
with:
repository: MystenLabs/sui-operations
token: ${{ secrets.DOCKER_BINARY_BUILDS_DISPATCH }}
event-type: github-issues-external-prs-monitor
client-payload: '{"author": "${{github.event.pull_request.user.login}}", "event_name": "pull_request", "pull_request_number": "${{github.event.pull_request.number}}"}'

Loading