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

GitHub actions triggered on forks #4265

Open
dregad opened this issue Apr 11, 2024 · 0 comments
Open

GitHub actions triggered on forks #4265

dregad opened this issue Apr 11, 2024 · 0 comments

Comments

@dregad
Copy link
Contributor

dregad commented Apr 11, 2024

Issue originally originally reported on the forums, reposted here as requested by @splitbrain.


I noticed today that a PR was created by github-actions in my fork dregad#1.

This was somewhat confusing... I don't understand how or why this happened. Can someone explain ? It's worth noting that I am not familiar with GitHub actions (I don't use them).

I also wonder if it can be avoided (and if so, how), as it does not really make sense for me to receive such PR's since I only use this fork for feature branches when I need to send a PR to the main DokuWiki repo. My master branch is occasionally synced with dokuwiki/master.

Thank you

Andi's reply:

It happened because forking will also clone all the configured github actions, including our auto code fixing.

Does that make sense? Probably not. We should probably check if we're running in the main repo and if not abort the action early.

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

1 participant