Skip to content

Remove unnecessary aspect traversal attribute #103

Remove unnecessary aspect traversal attribute

Remove unnecessary aspect traversal attribute #103

Workflow file for this run

# Part of the Crubit project, under the Apache License v2.0 with LLVM
# Exceptions. See /LICENSE for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
name: Dependabot Tidy
on:
pull_request:
branches: [ main ]
permissions:
contents: write
jobs:
tidy:
runs-on: ubuntu-latest
if: github.event.pull_request.user.login == 'dependabot[bot]'
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
with:
ref: ${{ github.head_ref }}
- uses: bazel-contrib/setup-bazel@c5acdfb288317d0b5c0bbd7a396a3dc868bb0f86 # 0.19.0
with:
bazelisk-cache: true
cache-save: false
external-cache: true
repository-cache: true
- name: Run bazel mod tidy
run: bazelisk mod tidy
- name: Commit and push changes
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add MODULE.bazel.lock
git diff --quiet && git diff --staged --quiet || (git commit -m "Auto-update MODULE.bazel.lock after Dependabot update" && git push)