Skip to content

Upgrade provider

Upgrade provider #6

env:
GH_TOKEN: ${{ secrets.GITHUB_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:
# TODO: remove when this repo is made public
- name: Configure Git for Private Modules
run: |
git config --global url."https://oauth2:${GITHUB_TOKEN}@github.com".insteadOf "https://github.com"
git config --global user.name github-actions[bot]
git config --list
# TODO: remove end
- name: Call upgrade provider action
uses: pulumi/pulumi-upgrade-provider-action@e247104aede3eb4641f48c8ad0ea9de9346f2457 # v0.0.18
with:
kind: all
username: github-actions[bot]
name: Upgrade provider
permissions:
contents: write
pull-requests: write
on:
issues:
types:
- opened
workflow_dispatch: {}