Generate Retro (Twilio Samples) #30
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: Generate Retro (Twilio Samples) | |
on: | |
schedule: | |
# Run once a week at 00:00 AM UTC on Sunday. | |
- cron: 0 12 * * 0 | |
# Run on demand via the GitHub UI | |
workflow_dispatch: | |
jobs: | |
generate_retro: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Run npm install | |
run: npm install | |
- name: Run npm run retro:twilio-samples | |
run: npm run retro:twilio-samples # Run the generation tools | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run gr2m/create-or-update-pull-request | |
uses: gr2m/create-or-update-pull-request-action@v1 # Create a PR or update the Action's existing PR | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
body: > | |
Here's a new retro, automatically generated with | |
GitHub Actions and `@retrogen/generate`. | |
branch: actions/retrogen # Custom branch *just* for this Action. | |
commit-message: 'doc: generate twilio-samples retro' | |
title: 'doc: generate retro' | |
assignees: bnb # change to whoever you want to be assigned to this PR | |
auto-merge: squash |