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

Forks and github actions #235

Open
asmagill opened this issue Apr 30, 2021 · 3 comments
Open

Forks and github actions #235

asmagill opened this issue Apr 30, 2021 · 3 comments

Comments

@asmagill
Copy link
Member

@cmsj, I just noticed that my fork of this repository is showing "This branch is 135 commits ahead of Hammerspoon:master." When I look at the actual commit log, it looks like a bunch things (docs, zip files, etc) were committed by the "Spoons Github Bot" on April 19... Have you recently made changes to the automation scripts that should be disabled for forks? Do I need to change anything (after forcing it back in sync) to prevent this from occurring again?

@cmsj
Copy link
Member

cmsj commented Apr 30, 2021

@asmagill yeah all the docs/zips stuff is handled by Actions now, when a push happens (typically when I merge a PR). You can disable Actions in the settings of your forked repo, and I’m wondering if I should hardcore into the Actioms yaml that it only run on this repo.

@asmagill
Copy link
Member Author

I found that setting after I forcibly reset my fork's HEAD...

Yeah, if it's not too hard, I would recommend that you do hardcode it into the yaml so we don't take anyone else by surprise!

@cmsj
Copy link
Member

cmsj commented May 3, 2021

It's now set up to only run the workflow in this repo. I'm going to rework that though, so it can run as a CI for forks and still provide linting results, just without the final commit action.

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

2 participants