chore(deps): update module github.com/bmatcuk/doublestar to v4 #50
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
# SPDX-FileCopyrightText: 2024 Siemens AG | |
# | |
# SPDX-License-Identifier: Apache-2.0 | |
# | |
# Author: Michael Adler <michael.adler@siemens.com> | |
--- | |
name: Chore | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
go-mod-tidy: | |
runs-on: ubuntu-latest | |
container: golang:1.23.3@sha256:73f06be4578c9987ce560087e2e2ea6485fb605e3910542cadd8fa09fc5f3e31 | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- run: | | |
# find all go.mod files, except in the hugo directory, and run `go mod tidy` inside | |
find . -path ./hugo -prune -o -type f -name go.mod -exec dirname {} \; | while read -r dir; do | |
cd "$dir" | |
go mod tidy | |
cd - | |
done | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7 | |
with: | |
commit-message: "chore: go mod tidy" | |
signoff: true | |
branch: chore/go-mod-tidy | |
title: "chore: go mod tidy" |