Skip to content

Commit

Permalink
Onboard dependabot workflows (#287)
Browse files Browse the repository at this point in the history
Generated by https://github.com/adevinta/vulcan-cicd/actions/runs/7928803135

Co-authored-by: purple-team-service-user <[email protected]>
  • Loading branch information
purple-team-service-user and purple-team-service-user authored Feb 16, 2024
1 parent 8a302fd commit 4466393
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
version: 2
updates:
- package-ecosystem: gomod
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
interval: "daily"
ignore:
- dependency-name: "github.com/aws/aws-sdk-go"
update-types: ["version-update:semver-patch"]
labels:
- "dependencies"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
labels:
- "dependencies"
commit-message:
prefix: "feat"
include: "scope"
9 changes: 9 additions & 0 deletions .github/workflows/approve-dependabot-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Approve dependabot PR

on: pull_request

jobs:
approve:
uses: adevinta/vulcan-cicd/.github/workflows/reusable-approve-dependabot-pr.yml@v1
secrets:
PAT: ${{ secrets.DEPENDABOT_AUTOMERGE_TOKEN }}
18 changes: 18 additions & 0 deletions .github/workflows/release-dependabot-updates.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Release dependabot updates

on:

# To generate a release on every update
# push:
# branches: master

# To group dependabot updates in the same release
schedule:
- cron: '30 5 * * *'

# To allow manual execution
workflow_dispatch:

jobs:
release:
uses: adevinta/vulcan-cicd/.github/workflows/reusable-release-dependabot-updates.yml@v1

0 comments on commit 4466393

Please sign in to comment.