Add on_connect callback to mqtt listener #15025
Workflow file for this run
This file contains 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: CI | |
on: [push, pull_request] | |
permissions: {} | |
jobs: | |
trigger: | |
if: | | |
github.event_name == 'push' || | |
( | |
github.event_name == 'pull_request' && | |
github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
) | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: CI Trigger | |
run: echo "Triggering CI" | |
build: | |
needs: trigger | |
uses: ./.github/workflows/build.yml | |
linters: | |
needs: trigger | |
uses: ./.github/workflows/linters.yml | |
tests: | |
needs: trigger | |
uses: ./.github/workflows/tests.yml | |
fuzzing: | |
needs: trigger | |
uses: ./.github/workflows/fuzzing.yml | |
benchmarks: | |
needs: trigger | |
uses: ./.github/workflows/benchmarks.yml | |
nagger: | |
needs: trigger | |
uses: ./.github/workflows/nagger.yml | |
check-all-green: | |
needs: | |
- build | |
- linters | |
- tests | |
- fuzzing | |
- benchmarks | |
- nagger | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Collect statuses from all jobs | |
uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2 | |
with: | |
jobs: ${{ toJSON(needs) }} |