mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-01-12 02:28:07 +02:00
d6f9d0d387
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2.4.0...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
29 lines
763 B
YAML
29 lines
763 B
YAML
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@v3
|
|
with:
|
|
ref: ${{ github.head_ref }}
|
|
- uses: actions/setup-go@v3
|
|
with:
|
|
go-version: '^1.16.0'
|
|
- uses: evantorrie/mott-the-tidier@v1-beta
|
|
id: modtidy
|
|
with:
|
|
gomods: '**/go.mod'
|
|
gomodsum_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 }}"
|