Skip to content

Some GitHub Actions should run only in the main repo, not in forks #3484

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

Closed
lornajane opened this issue Dec 27, 2023 · 4 comments · Fixed by #3493
Closed

Some GitHub Actions should run only in the main repo, not in forks #3484

lornajane opened this issue Dec 27, 2023 · 4 comments · Fixed by #3493
Assignees

Comments

@lornajane
Copy link
Contributor

When I fork the repository, all the workflows run on the fork - but not all of them make sense there.

We can specify some jobs to run only on the main repo, as shown in GitHub docs

Suggested list of workflows that would be better on the main repo only:

  • Label and close issues with no recent activity
  • agenda
  • .... what else?
@darrelmiller
Copy link
Member

/cc @baywet

@baywet
Copy link
Contributor

baywet commented Jan 8, 2024

@lornajane please assign this to me (at least for agenda and label and close)
Also what would be the criteria? the org name? do you typically fork the repo within the same org?

@lornajane
Copy link
Contributor Author

Assigned. I think if it's not this specific repo, most of these should not run, but I didn't look in detail at what we have and what they all do.

@baywet
Copy link
Contributor

baywet commented Jan 9, 2024

authored #3493

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

Successfully merging a pull request may close this issue.

3 participants