Skip to content

Commit

Permalink
Adding generated check-upstream-upgrade workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ringods committed Oct 7, 2024
1 parent c15f761 commit 55f635c
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/check-upstream-upgrade.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@

#WARNING: This file is autogenerated - changes will be overwritten if not made via https://github.com/pulumi/ci-mgmt

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 * * *

env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
check_upgrade_provider:
name: Check for upstream provider upgrades
permissions:
contents: read
issues: write
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup tools
uses: ./.github/actions/setup-tools
with:
tools: go
- name: Install upgrade-provider
run: go install github.com/pulumi/upgrade-provider@main
shell: bash
- name: "Set up git identity: name"
run: git config --global user.name pulumi-bot
shell: bash
- name: "Set up git identity: email"
run: git config --global user.email [email protected]
shell: bash
- name: Run upgrade-provider upstream check
id: upstream_version
run: |
upgrade-provider "$REPO" --kind=check-upstream-version
env:
REPO: ${{ github.repository }}
shell: bash

0 comments on commit 55f635c

Please sign in to comment.