Skip to content

Commit

Permalink
Installing the upgrade-provider workflow for automated dependency u…
Browse files Browse the repository at this point in the history
…pdates.
  • Loading branch information
ringods committed Apr 18, 2024
1 parent 246fbb5 commit 471f391
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
":semanticCommitScopeDisabled",
"schedule:earlyMondays"
],
"packageRules": [
{
"excludePackagePatterns": [
"github.com/pulumi/*"
],
"matchDatasources": [
"go",
"golang-version"
],
"groupName": "Pulumi package updates to be done by the update-bridge workflow"
},
{
"matchFileNames": ["sdk/**"],
"enabled": false
}
],
"dependencyDashboard": true
}
25 changes: 25 additions & 0 deletions .github/workflows/upgrade-bridge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Upgrade bridge

on:
workflow_dispatch:
schedule:
# At 05:00 on Monday
- cron: 0 5 * * 1

jobs:
upgrade_bridge:
name: upgrade-bridge
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
issues: write
steps:
- name: Call upgrade provider action
uses: pulumi/[email protected]
with:
kind: bridge
email: [email protected]
username: "Ringo De Smet"
env:
GH_TOKEN: ${{ secrets.UPGRADE_PROVIDER_TOKEN }}

0 comments on commit 471f391

Please sign in to comment.