Skip to content
This repository has been archived by the owner on Sep 28, 2024. It is now read-only.

feat: add check-upgrade-provider workflow #88

Merged
merged 1 commit into from
Feb 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/check-upgrade-provider.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
jobs:
upgrade_provider:
name: upgrade-provider
runs-on: ubuntu-latest
steps:
- name: Call upgrade provider action
uses: pulumi/pulumi-upgrade-provider-action@e71a8c1d0846a21776530b135339c342896ce628 # v0.0.11
with:
kind: check-upstream-version
email: botdirien.de
username: dirien-bot

permissions:
contents: write

name: Check upstream upgrade
on:
workflow_dispatch: {} #so we can run this manually if necessary.
schedule:
# 3 AM UTC ~ 8 PM PDT / 7 PM PST daily. Time chosen to run during off hours.
- cron: 0 3 * * *
4 changes: 4 additions & 0 deletions .github/workflows/upgrade-provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
jobs:
upgrade_provider:
if: ${{ (contains(github.event.issue.title, 'Upgrade terraform-provider-')) || github.event_name == 'workflow_dispatch' }}
name: upgrade-provider
runs-on: ubuntu-latest
steps:
Expand All @@ -17,4 +18,7 @@ permissions:
contents: write

on:
issues:
types:
- opened
workflow_dispatch: {}