Skip to content

Added push trigger to test workflow #1

Added push trigger to test workflow

Added push trigger to test workflow #1

name: Update generated content
on:
schedule:
- cron: "0 10 * * 1-5"
workflow_dispatch:
push: # uncomment to test this workflow
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22.x
cache: "npm"
#- name: Install dependencies
# run: npm ci
- name: Generate Terraform Resource Definitions
run: node ./tools/generate-terraform.js resource-definitions
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GH_PAT }}
commit-message: "chore: update generated example library content"
title: Update generated example library content
body: |
Update generated example-library content
branch: update-generated
team-reviewers: "Docs"