Update Templates #194
This file contains hidden or 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 Templates | |
| on: | |
| schedule: | |
| - cron: "0 0 * * 1-5" | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| id-token: write | |
| jobs: | |
| update-templates: | |
| name: Update Templates | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: . | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 | |
| - name: Run Update Script | |
| run: | | |
| ./scripts/update.sh | |
| - name: Create Pull Request | |
| if: success() | |
| uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8 | |
| with: | |
| base: main | |
| body: "This PR updates the cloudformation templates for the instance scheduler" | |
| branch-suffix: timestamp | |
| labels: "chore" | |
| reviewers: gambol99 | |
| title: "[UPDATE] - Instance Scheduler Cloudformation" |