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

Skip SVGO action if branch being PRed is in a fork owned by an organization #54

Open
jdecked opened this issue Nov 30, 2023 · 0 comments

Comments

@jdecked
Copy link
Owner

jdecked commented Nov 30, 2023

Problem: GitHub Actions can't perform edits to a PR when the PR is from a fork owned by an organization (see github/community#6634). This means that when such a PR is opened against jdecked/twemoji, the run-svgo action fails at the commit step if SVG optimization is needed.

Proposed Solution: Skip SVGO action if branch being PRed is in a fork owned by an organization. This will probably only affect PRs from Discord, which is fine because we know the committers there.

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