Skip to content

chore(deps): update all non-major dependencies #38

chore(deps): update all non-major dependencies

chore(deps): update all non-major dependencies #38

Workflow file for this run

# SPDX-FileCopyrightText: 2024 Siemens AG
#
# SPDX-License-Identifier: Apache-2.0
#
# Author: Michael Adler <[email protected]>
---
name: Chore
on:
workflow_dispatch:
push:
branches:
- main
jobs:
go-mod-tidy:
runs-on: ubuntu-latest
container: golang:1.23.1@sha256:4f063a24d429510e512cc730c3330292ff49f3ade3ae79bda8f84a24fa25ecb0
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # 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"