| 1 |
name: Issue Manager |
| 2 |
|
| 3 |
on: |
| 4 |
schedule: |
| 5 |
- cron: "13 22 * * *" |
| 6 |
issue_comment: |
| 7 |
types: |
| 8 |
- created |
| 9 |
issues: |
| 10 |
types: |
| 11 |
- labeled |
| 12 |
pull_request_target: # zizmor: ignore[dangerous-triggers] |
| 13 |
types: |
| 14 |
- labeled |
| 15 |
workflow_dispatch: |
| 16 |
|
| 17 |
permissions: {} |
| 18 |
|
| 19 |
jobs: |
| 20 |
issue-manager: |
| 21 |
if: github.repository_owner == 'fastapi' |
| 22 |
runs-on: ubuntu-latest |
| 23 |
permissions: |
| 24 |
issues: write |
| 25 |
pull-requests: write |
| 26 |
timeout-minutes: 5 |
| 27 |
steps: |
| 28 |
- name: Dump GitHub context |
| 29 |
env: |
| 30 |
GITHUB_CONTEXT: ${{ toJson(github) }} |
| 31 |
run: echo "$GITHUB_CONTEXT" |
| 32 |
- uses: tiangolo/issue-manager@dc846170c36eb62fb434b3d943b36399fe240fb5 # 0.8.1 |
| 33 |
with: |
| 34 |
token: ${{ secrets.GITHUB_TOKEN }} |