YT-27046: Track timing statistics for writers #4138
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: Check | |
| on: | |
| push: | |
| branches: | |
| - main | |
| env: | |
| ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true | |
| jobs: | |
| run-check: | |
| name: Run check | |
| uses: ./.github/workflows/run-check.yaml | |
| secrets: | |
| YC_SA_JSON_CREDENTIALS: ${{ secrets.YC_SA_JSON_CREDENTIALS }} | |
| GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} | |
| YC_VM_USERNAME: ${{ secrets.YC_VM_USERNAME }} | |
| YC_VM_SSH_PUBLIC_KEY: ${{ secrets.YC_VM_SSH_PUBLIC_KEY }} | |
| send-notifications: | |
| name: Send notifications | |
| needs: | |
| - run-check | |
| runs-on: trampoline | |
| if: ${{ failure() }} | |
| steps: | |
| - name: Send telegram message | |
| uses: appleboy/telegram-action@master | |
| with: | |
| to: ${{ secrets.TELEGRAM_CHAT_ID }} | |
| token: ${{ secrets.TELEGRAM_TOKEN }} | |
| disable_web_page_preview: true | |
| format: markdown | |
| message: | | |
| Workflow *${{github.workflow}}* failed: ${{github.server_url}}/${{github.repository}}/actions/runs/${{github.run_id}}. | |
| Git ${{github.ref_type}}: *${{github.ref_name}}*. | |
| Commit: | |
| ``` | |
| ${{github.event.head_commit.message}} | |
| ``` |