Trigger an update of the templates go.mod files on release
@@ -33,6 +33,19 @@ jobs:
pulumictl dispatch -r pulumi/templates -c trigger-cron $(pulumictl get version --language generic -o)
env:
GITHUB_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN}}
+ update-templates-version:
+ name: Trigger Updating Templates Version
+ runs-on: ubuntu-latest
+ needs: templates_smoke_test
+ steps:
+ - name: Checkout Repo
+ uses: actions/checkout@v2
+ - name: Install Pulumictl
+ uses: jaxxstorm/action-install-gh-release@v1.2.0
+ with:
+ repo: pulumi/pulumictl
+ - name: Repository Dispatch
+ run: pulumictl dispatch -r pulumi/templates -c update-templates $(pulumictl get version --language generic -o)
examples_smoke_test:
name: Trigger Examples Smoke Test
runs-on: ubuntu-latest
