Upgrade provider #4
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
# WARNING: This file is autogenerated - changes will be overwritten if not made via https://github.com/pulumi/ci-mgmt | |
name: Upgrade provider | |
on: | |
workflow_dispatch: {} | |
schedule: | |
# At 05:00 on Monday | |
- cron: 0 5 * * 1 | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
permissions: | |
contents: write | |
issues: write | |
pull-requests: write | |
jobs: | |
upgrade_provider: | |
name: upgrade-provider | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v4 | |
- name: Setup tools | |
uses: ./.github/actions/setup-tools | |
with: | |
tools: pulumictl, pulumicli, dotnet, go, nodejs, python | |
- 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 '[email protected]' | |
git config --global user.email '[email protected]' | |
shell: bash | |
- name: Run upgrade-provider | |
run: upgrade-provider "${{ github.repository }}" --kind="all" | |
shell: bash |