-
-
Notifications
You must be signed in to change notification settings - Fork 750
32 lines (30 loc) · 737 Bytes
/
dependabot-fix.yml
File metadata and controls
32 lines (30 loc) · 737 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: dependabot-fix
on:
pull_request:
branches:
- dependabot/go_modules/**
push:
branches:
- dependabot/go_modules/**
jobs:
tidy:
runs-on: ubuntu-22.04
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Golang env
uses: actions/setup-go@v6
with:
go-version-file: go.mod
cache: true
- uses: evantorrie/mott-the-tidier@v1-beta
with:
# mod tidy all modules except docs(hugo module)
gomods: |
**/go.mod
-docs/go.mod
- uses: stefanzweifel/git-auto-commit-action@v7
with:
commit_message: "chore(deps): tidy modules"