-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from canonical/IAM-414
Update renovate config
- Loading branch information
Showing
4 changed files
with
59 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: renovate-approve | ||
run-name: CI for approving renovate PRs | ||
|
||
on: | ||
push: | ||
branches: | ||
- "renovate/**" | ||
|
||
jobs: | ||
autoapprove: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Approve PR | ||
run: | | ||
gh pr review --approve || true | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# workflow for checking package versions and opening PRs to bump | ||
name: Renovate | ||
on: | ||
workflow_dispatch: | ||
workflow_call: | ||
|
||
jobs: | ||
renovate: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Self-hosted Renovate | ||
uses: renovatebot/github-action@23a02fe7be9e93f857a953cc8162e57d2c8401ef # v39.0.1 | ||
with: | ||
configurationFile: renovate-config.js | ||
token: ${{ secrets.PAT_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module.exports = { | ||
branchPrefix: 'renovate/', | ||
dryRun: null, | ||
username: 'renovate-release', | ||
gitAuthor: 'Renovate Bot <[email protected]>', | ||
onboarding: true, | ||
platform: 'github', | ||
includeForks: true, | ||
repositories: ['canonical/hydra-rock'], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,17 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"config:base" | ||
] | ||
"config:base", | ||
":disableDependencyDashboard", | ||
":automergeDigest", | ||
":automergePatch", | ||
":automergeMinor", | ||
":rebaseStalePrs", | ||
":semanticCommits", | ||
":semanticCommitScope(deps)", | ||
"helpers:pinGitHubActionDigests" | ||
], | ||
"automergeType": "pr", | ||
"rebaseWhen": "behind-base-branch", | ||
"automerge": true | ||
} |