mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
29 lines
617 B
YAML
29 lines
617 B
YAML
name: Check bazel formatting
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- "**.bazel"
|
|
- "**.bzl"
|
|
branches:
|
|
- main
|
|
- "rc/*"
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v5
|
|
- name: Check bazel formatting
|
|
uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507
|
|
with:
|
|
extra_args: >
|
|
buildifier --all-files 2>&1 ||
|
|
(
|
|
echo -e "In order to format all bazel files, please run:\n bazel run //misc/bazel/buildifier"; exit 1
|
|
)
|