chore: sept 2024 omnibus #293
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: 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@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1 | |
with: | |
egress-policy: audit | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: buildifier | |
continue-on-error: true | |
run: bazel run --enable_bzlmod //.github/workflows:buildifier.check |