Skip to content

Support resource import #1443

Support resource import

Support resource import #1443

Workflow file for this run

name: Render RFC Table
on:
issues:
types:
[
opened,
edited,
deleted,
transferred,
assigned,
unassigned,
labeled,
unlabeled,
]
workflow_dispatch: {}
jobs:
render:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 18.x
- name: install dependencies
run: |
cd tools/rfc-render
npm install
- name: render table
run: |
node tools/rfc-render/inject-table.js README.md
- 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
- 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 }}