Skip to content

Expand locations and make variables in extra_args #276

Expand locations and make variables in extra_args

Expand locations and make variables in extra_args #276

---
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:
permissions:
contents: read
jobs:
check:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- name: buildifier
continue-on-error: true
run: bazel run --enable_bzlmod //.github/workflows:buildifier.check