-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (32 loc) · 1.15 KB
/
retro-twilio.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Generate Retro (Twilio)
on:
schedule:
# Run once a week at 00:00 AM UTC on Sunday.
- cron: 0 13 * * 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
run: npm run retro:twilio # 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 retro'
title: 'doc: generate retro'
assignees: bnb # change to whoever you want to be assigned to this PR
auto-merge: squash