Skip to content

Commit

Permalink
Merge pull request #31 from contentful/add-renovate
Browse files Browse the repository at this point in the history
[]: add auto-merge and renovate
  • Loading branch information
karankohli-cf authored Jan 7, 2025
2 parents f81dcea + cd30f99 commit d007419
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .contentful/vault-secrets.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
version: 1
services:
github-action:
policies:
- dependabot
16 changes: 16 additions & 0 deletions .github/workflows/dependabot-approve-and-request-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: "dependabot approve-and-request-merge"

on: pull_request_target

jobs:
worker:
permissions:
contents: write
id-token: write
pull-requests: write
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- uses: contentful/github-auto-merge@v2
with:
VAULT_URL: ${{ secrets.VAULT_URL }}
6 changes: 6 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>contentful/renovate-config"
]
}

0 comments on commit d007419

Please sign in to comment.