pythonasyncioapiasyncfastapiframeworkjsonjson-schemaopenapiopenapi3pydanticpython-typespython3redocreststarletteswaggerswagger-uiuvicornweb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
599 B
27 lines
599 B
name: Label Approved
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 12 * * *"
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
label-approved:
|
|
if: github.repository_owner == 'fastapi'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Dump GitHub context
|
|
env:
|
|
GITHUB_CONTEXT: ${{ toJson(github) }}
|
|
run: echo "$GITHUB_CONTEXT"
|
|
- uses: docker://tiangolo/label-approved:0.0.4
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
config: >
|
|
{
|
|
"approved-1":
|
|
{
|
|
"number": 1,
|
|
"await_label": "awaiting-review"
|
|
}
|
|
}
|
|
|