Skip to content

GH actions on forks #1046

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
marekdedic opened this issue Jan 30, 2025 · 0 comments · Fixed by #1047
Closed

GH actions on forks #1046

marekdedic opened this issue Jan 30, 2025 · 0 comments · Fixed by #1047
Labels
help wanted Extra attention is needed

Comments

@marekdedic
Copy link
Contributor

Hi,
I have my own fork of this repo and one annoying thing is that some GH actions fail when run on a fork (e.g. when I push updated main to my fork).

Specificaly, the pkg.pr.new and GHPages actions fail out of the box, because the fork doesn't have it's own GH pages and doesn't have the pkg.pr.new app enabled.

I propose to disable these two actions on forks by adding if: github.repository == ‘sveltejs/eslint-plugin-svelte’ to them.

See the 2 most recent failing runs:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants