Skip to content

Update Resource Schema #2

Update Resource Schema

Update Resource Schema #2

Workflow file for this run

name: Pull Files from Another Repository on Push
env:
SOURCE_REPO: pulumi/pulumi-aws
USERNAME: ${{ github.actor }}
PATH_SOURCE_CHECKOUT: temp_folder
TARGET_FILE: "provider/cmd/pulumi-resource-aws/schema.json"
on:
workflow_dispatch:
jobs:
pull-file:
runs-on: ubuntu-latest
steps:
- name: Checkout pulumi/pulumi-aws
uses: actions/checkout@v4
with:
repository: ${{ env.SOURCE_REPO }}
path: ${{ env.PATH_SOURCE_CHECKOUT }}
- name: Update
run: |
cd $PATH_SOURCE_CHECKOUT
if [[ $(git log --since='1000 day ago' ${{ env.TARGET_FILE }} | wc -w) -gt 0 ]];then echo 'We have changes';else echo 'no change';fi