mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-04-15 11:36:44 +02:00
Apply transitive dependabot go.mod dependency updates as part of automatic Github workflow (#844)
This commit is contained in:
parent
4e4271791f
commit
f29cc497bf
28
.github/workflows/dependabot.yml
vendored
Normal file
28
.github/workflows/dependabot.yml
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
name: Dependabot-Tidier
|
||||
on:
|
||||
pull_request:
|
||||
types: [ labeled ]
|
||||
|
||||
jobs:
|
||||
mod_tidier:
|
||||
if: ${{ contains(github.event.pull_request.labels.*.name, 'dependencies') }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
ref: ${{ github.head_ref }}
|
||||
- uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: '^1.14.0'
|
||||
- uses: evantorrie/mott-the-tidier@v1-beta
|
||||
id: modtidy
|
||||
with:
|
||||
gomods: '**/go.mod'
|
||||
gosum_only: true
|
||||
- uses: stefanzweifel/git-auto-commit-action@v4
|
||||
id: autocommit
|
||||
with:
|
||||
commit_message: Auto-fix go.sum changes in dependent modules
|
||||
- name: changes
|
||||
run: |
|
||||
echo "Changes detected: ${{ steps.autocommit.outputs.changes_detected }}"
|
Loading…
x
Reference in New Issue
Block a user