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

Only format on forks #205

Merged
merged 3 commits into from
Sep 13, 2023
Merged

Conversation

degenone
Copy link
Contributor

As suggested on stream, I changed the formatting action to only happen on forked repositories (if: github.ref != 'refs/heads/main' && github.repository != 'FritzAndFriends/TagzApp')

This solves the permission issues.

I forget if the workflows are enabled by default on forks or not, if not the docs might need to mention it.

@csharpfritz
Copy link
Contributor

csharpfritz commented Sep 13, 2023 via email

@csharpfritz
Copy link
Contributor

Looks great! Let's get this merged

@csharpfritz csharpfritz merged commit ccc9a0c into FritzAndFriends:main Sep 13, 2023
3 checks passed
@degenone degenone deleted the only_format_forks branch September 13, 2023 16:17
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 this pull request may close these issues.

None yet

2 participants