Skip to content

Tooling, Part 2

Tooling, Part 2 #21

---
name: Buildifier
# Controls when the action will run.
"on":
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [main]
paths:
- docs/**/*.*
- example/**/*.*
- graalvm/**/*.*
- internal/**/*.*
- tools/**/*.*
pull_request:
branches: [main]
paths:
- docs/**/*.*
- example/**/*.*
- graalvm/**/*.*
- internal/**/*.*
- tools/**/*.*
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
check:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: Harden Runner
uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
with:
egress-policy: audit
- uses: actions/checkout@v3
- name: buildifier
continue-on-error: true
run: bazel run --enable_bzlmod //.github/workflows:buildifier.check