Skip to content

Commit

Permalink
chore: update dependabot.yml (#9)
Browse files Browse the repository at this point in the history
* chore: update dependabot.yml

* chore: disable go lint until go files exist
  • Loading branch information
MSevey authored Sep 18, 2024
1 parent d64244f commit a321eb1
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 25 deletions.
14 changes: 13 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,22 @@ updates:
open-pull-requests-limit: 10
labels:
- T:dependencies
# Group all patch updates into a single PR
groups:
patch-updates:
applies-to: version-updates
update-types:
- "minor"
- package-ecosystem: gomod
directory: "/"
schedule:
interval: weekly
interval: daily
open-pull-requests-limit: 10
labels:
- T:dependencies
# Group all patch updates into a single PR
groups:
patch-updates:
applies-to: version-updates
update-types:
- "minor"
48 changes: 24 additions & 24 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,30 @@ on:
workflow_call:

jobs:
golangci-lint:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: ./go.mod
# This steps sets the GIT_DIFF environment variable to true
# if files defined in PATTERS changed
- uses: technote-space/get-diff-action@v6.1.2
with:
# This job will pass without running if go.mod, go.sum, and *.go
# wasn't modified.
PATTERNS: |
**/**.go
go.mod
go.sum
- uses: golangci/golangci-lint-action@v6.1.0
with:
version: latest
args: --timeout 10m
github-token: ${{ secrets.github_token }}
if: env.GIT_DIFF
# golangci-lint:
# name: golangci-lint
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-go@v5
# with:
# go-version-file: ./go.mod
# # This steps sets the GIT_DIFF environment variable to true
# # if files defined in PATTERS changed
# - uses: technote-space/get-diff-action@v6.1.2
# with:
# # This job will pass without running if go.mod, go.sum, and *.go
# # wasn't modified.
# PATTERNS: |
# **/**.go
# go.mod
# go.sum
# - uses: golangci/golangci-lint-action@v6.1.0
# with:
# version: latest
# args: --timeout 10m
# github-token: ${{ secrets.github_token }}
# if: env.GIT_DIFF

yamllint:
runs-on: ubuntu-latest
Expand Down

0 comments on commit a321eb1

Please sign in to comment.