Skip to content

Commit

Permalink
chore(deps): add dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
kilianpaquier committed Mar 2, 2024
1 parent 1cb3bc8 commit b1943d6
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 3 deletions.
1 change: 1 addition & 0 deletions .craft
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ maintainers:
- url: kilianpaquier.com
name: kilianpaquier
codecov: true
dependabot: true
no_api: true
no_chart: true
45 changes: 45 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Code generated by craft; DO NOT EDIT.

# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
day: wednesday
time: "12:00"
timezone: Etc/UTC
commit-message:
include: scope
prefix: chore
pull-request-branch-name:
separator: /
rebase-strategy: auto
target-branch: main
assignees:
- kilianpaquier
reviewers:
- kilianpaquier
- package-ecosystem: gomod
directory: /
schedule:
interval: weekly
day: wednesday
time: "12:00"
timezone: Etc/UTC
commit-message:
include: scope
prefix: chore
pull-request-branch-name:
separator: /
rebase-strategy: auto
target-branch: main
assignees:
- kilianpaquier
reviewers:
- kilianpaquier
6 changes: 3 additions & 3 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
- run: CGO_ENABLED="0" go test ./... -coverpkg=./... -covermode=count -coverprofile=coverage.out
- uses: codecov/codecov-action@v4
if: ${{ ! startsWith(github.ref_name, 'dependabot') }} # ignore codecov on dependabot branches
with:
codecov_yml_path: codecov.yml
disable_search: true
fail_ci_if_error: true
file: coverage.out
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
slug: ${{ github.repository }}
slug: ${{ github.repository }}
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit b1943d6

Please sign in to comment.