chore(deps): bump codecov/codecov-action from 5.1.1 to 5.1.2 #46
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: Dependabot Actions | |
on: | |
push: | |
branches: | |
- dependabot/** | |
permissions: | |
contents: write | |
jobs: | |
tidy_benchmarks: | |
name: Tidy Benchmarks | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.ORGANIZATION_ACTIONS_TOKEN }} | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22.5' | |
- name: Run go mod tidy in benchmarks directory | |
working-directory: benchmarks | |
run: | | |
go mod tidy | |
if [[ -n $(git status --porcelain) ]]; then | |
git config --global user.name "github-actions[bot]" | |
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
git add go.mod go.sum | |
git commit -m "chore: run go mod tidy in benchmarks directory" | |
git push | |
else | |
echo "No changes to commit" | |
fi |