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

Please disable github workflow actions on forks #34356

Closed
halaei opened this issue Sep 15, 2020 · 3 comments
Closed

Please disable github workflow actions on forks #34356

halaei opened this issue Sep 15, 2020 · 3 comments

Comments

@halaei
Copy link
Contributor

halaei commented Sep 15, 2020

  • Laravel Version: #.#.#
  • PHP Version: #.#.#
  • Database Driver & Version:

Description:

Can you please disable scheduled github workflow actions on forks? It was running once a day on my fork, probably on every body's fork, which is a waste of resource as well as unnecessary email notifications.

Steps To Reproduce:

I don't know how it should be disabled but I see this in my fork of react-native:

image

Or maybe you could add conditional schedule something like if github.repository == ‘laravel/framework’.

The same issue exists in laravel/horizon and probably other laravel projects.

@halaei
Copy link
Contributor Author

halaei commented Sep 15, 2020

Maybe the workflow codes run on my fork because they were added after I forked the repositories. Having said that, maybe this PR is helpful: arduino/arduino-cli#888

if: github.event_name != 'schedule' || (github.event_name == 'schedule' && github.repository == 'arduino/arduino-cli')

@halaei
Copy link
Contributor Author

halaei commented Oct 29, 2020

Github resolved the issue!

Scheduled workflows in forks of public repos created before today have been disabled and they will be disabled for all new forks of public repos moving forward. Scheduled workflows in forks of public repos can be manually enabled if you need them to run.

@luxe
Copy link

luxe commented Nov 8, 2022

Forks still seem to run cron workflows for me:
https://github.com/Unilang/googleapis/actions/workflows/diregapic.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants