mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2026-03-04 08:24:30 +01:00
Some checks failed
Bazel presubmit checks / bazel-build-check (macos-latest) (push) Has been cancelled
Bazel presubmit checks / bazel-build-check (ubuntu-latest) (push) Has been cancelled
Bazel presubmit checks / other-bazel-checks (push) Has been cancelled
Check Board Headers / check-board-headers (push) Has been cancelled
Check Configs / check-configs (push) Has been cancelled
CMake / build (push) Has been cancelled
Build on macOS / build (push) Has been cancelled
Build on Windows / build (push) Has been cancelled
* Add action to check board headers when modified * Fix invalid escape warning * Check for more board header errors before exiting script * Also run when action file changes * Add back newline at end of check_all_board_headers.sh * Remove python install step * `e.__str__()` -> `str(e)`
27 lines
765 B
YAML
27 lines
765 B
YAML
name: Check Board Headers
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- 'src/boards/include/boards/**'
|
|
- 'tools/check_board_header.py'
|
|
- 'tools/check_all_board_headers.sh'
|
|
- '.github/workflows/check_board.yml'
|
|
pull_request:
|
|
paths:
|
|
- 'src/boards/include/boards/**'
|
|
- 'tools/check_board_header.py'
|
|
- 'tools/check_all_board_headers.sh'
|
|
- '.github/workflows/check_board.yml'
|
|
|
|
jobs:
|
|
check-board-headers:
|
|
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Check Board Headers
|
|
run: |
|
|
tools/check_all_board_headers.sh
|