Added push trigger to test workflow #5
Workflow file for this run
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
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: Generate Terraform Resource Definitions | |
run: node ./tools/generate-terraform.js resource-definitions | |
- name: Format Terraform Resource Definitions | |
run: terraform fmt -recursive 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" |