Publish proto files from 2c6921db66 (#237) #168
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Dispatch event to PySDK | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| dispatch: | |
| name: Dispatch events to dependent repositories | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Dispatch event to PySDK | |
| uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v4.0.1 | |
| with: | |
| token: ${{ secrets.TRIGGER_PYSDK_WORKFLOW_PAT }} | |
| repository: nebius/pysdk | |
| event-type: updated-${{ github.event.repository.name }} | |
| - name: Dispatch event to JS-SDK | |
| uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v4.0.1 | |
| with: | |
| token: ${{ secrets.TRIGGER_TSSDK_WORKFLOW_PAT }} | |
| repository: nebius/js-sdk | |
| event-type: updated-${{ github.event.repository.name }} | |
| notify-slack-on-failure: | |
| name: Notify Slack on failure | |
| if: failure() | |
| needs: [dispatch] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Post text to a Slack channel | |
| uses: slackapi/slack-github-action@45a88b9581bfab2566dc881e2cd66d334e621e2c # v3.0.3 | |
| with: | |
| method: chat.postMessage | |
| token: ${{ secrets.SLACK_OAUTH_TOKEN }} | |
| payload: | | |
| channel: ${{ secrets.SLACK_CHANNEL }} | |
| text: | | |
| 🚨 Workflow *${{ github.workflow }}* failed on <${{ github.server_url }}/${{ github.repository }}|${{ github.repository }}> | |
| <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|View run> | |