Local Application Testing #1793
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: Render RFC Table | |
on: | |
issues: | |
types: | |
[ | |
opened, | |
edited, | |
deleted, | |
transferred, | |
assigned, | |
unassigned, | |
labeled, | |
unlabeled, | |
] | |
workflow_dispatch: {} | |
jobs: | |
render: | |
runs-on: ubuntu-latest | |
concurrency: | |
group: update-table | |
cancel-in-progress: true | |
permissions: | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
- name: install dependencies | |
run: npm --prefix tools/rfc-render ci | |
- name: render tables | |
env: | |
PROJEN_GITHUB_TOKEN: ${{ secrets.PROJEN_GITHUB_TOKEN }} | |
run: npm --prefix tools/rfc-render run render:all | |
- name: Create Pull Request | |
id: pr | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
token: ${{ secrets.PROJEN_GITHUB_TOKEN }} | |
commit-message: Update RFC table in README | |
title: Update RFC table in README | |
branch: auto/update-rfc-table | |
labels: auto-approve | |
- name: Auto approve PR | |
if: ${{ steps.pr.outputs.pull-request-number }} | |
uses: hmarr/auto-approve-action@v3 | |
with: | |
pull-request-number: ${{ steps.pr.outputs.pull-request-number }} |