Browse Source
👷 Make cron jobs run only on main repo, not on forks, to avoid error notifications from missing tokens (#9735)
pull/9736/head
Sebastián Ramírez
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
4 additions and
1 deletions
-
.github/workflows/issue-manager.yml
-
.github/workflows/label-approved.yml
-
.github/workflows/people.yml
|
@ -2,7 +2,7 @@ name: Issue Manager |
|
|
|
|
|
|
|
|
on: |
|
|
on: |
|
|
schedule: |
|
|
schedule: |
|
|
- cron: "0 0 * * *" |
|
|
- cron: "10 3 * * *" |
|
|
issue_comment: |
|
|
issue_comment: |
|
|
types: |
|
|
types: |
|
|
- created |
|
|
- created |
|
@ -16,6 +16,7 @@ on: |
|
|
|
|
|
|
|
|
jobs: |
|
|
jobs: |
|
|
issue-manager: |
|
|
issue-manager: |
|
|
|
|
|
if: github.repository_owner == 'tiangolo' |
|
|
runs-on: ubuntu-latest |
|
|
runs-on: ubuntu-latest |
|
|
steps: |
|
|
steps: |
|
|
- uses: tiangolo/issue-manager@0.4.0 |
|
|
- uses: tiangolo/issue-manager@0.4.0 |
|
|
|
@ -6,6 +6,7 @@ on: |
|
|
|
|
|
|
|
|
jobs: |
|
|
jobs: |
|
|
label-approved: |
|
|
label-approved: |
|
|
|
|
|
if: github.repository_owner == 'tiangolo' |
|
|
runs-on: ubuntu-latest |
|
|
runs-on: ubuntu-latest |
|
|
steps: |
|
|
steps: |
|
|
- uses: docker://tiangolo/label-approved:0.0.2 |
|
|
- uses: docker://tiangolo/label-approved:0.0.2 |
|
|
|
@ -12,6 +12,7 @@ on: |
|
|
|
|
|
|
|
|
jobs: |
|
|
jobs: |
|
|
fastapi-people: |
|
|
fastapi-people: |
|
|
|
|
|
if: github.repository_owner == 'tiangolo' |
|
|
runs-on: ubuntu-latest |
|
|
runs-on: ubuntu-latest |
|
|
steps: |
|
|
steps: |
|
|
- uses: actions/checkout@v3 |
|
|
- uses: actions/checkout@v3 |
|
|