Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

👷 Make cron jobs run only on main repo, not on forks, to avoid error notifications from missing tokens #9735

Merged
merged 1 commit into from Jun 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/issue-manager.yml
Expand Up @@ -2,7 +2,7 @@ name: Issue Manager

on:
schedule:
- cron: "0 0 * * *"
- cron: "10 3 * * *"
issue_comment:
types:
- created
Expand All @@ -16,6 +16,7 @@ on:

jobs:
issue-manager:
if: github.repository_owner == 'tiangolo'
runs-on: ubuntu-latest
steps:
- uses: tiangolo/issue-manager@0.4.0
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/label-approved.yml
Expand Up @@ -6,6 +6,7 @@ on:

jobs:
label-approved:
if: github.repository_owner == 'tiangolo'
runs-on: ubuntu-latest
steps:
- uses: docker://tiangolo/label-approved:0.0.2
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/people.yml
Expand Up @@ -12,6 +12,7 @@ on:

jobs:
fastapi-people:
if: github.repository_owner == 'tiangolo'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down