Skip to content

Publish proto files from a9d91b264 #486

Publish proto files from a9d91b264

Publish proto files from a9d91b264 #486

Workflow file for this run

name: CI
on:
workflow_dispatch:
inputs:
debug_ssh:
description: "Enable SSH debug with tmate, see https://github.com/marketplace/actions/debugging-with-tmate"
required: false
type: boolean
default: false
pull_request:
push:
branches:
- main
- sync/**
schedule:
- cron: "0 0 * * 1" # Each Monday
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
buf:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: bufbuild/buf-action@v1.4.0
with:
setup_only: true
- run: buf build --error-format github-actions
- run: buf generate --error-format github-actions
notify-slack-on-failure:
name: Notify Slack on failure
if: failure()
needs: [buf]
runs-on: ubuntu-latest
steps:
- name: Post text to a Slack channel
uses: slackapi/slack-github-action@v2.1.1
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>