Update README with instructions for forks#93
Merged
stefanzweifel merged 3 commits intomasterfrom Aug 22, 2020
Merged
Conversation
GitHub recently introduced ways for Actions to run on forks. This update now finally allows repository maintainers to write Workflows to run code linters and fixers which can also work on the forks.
Owner
Author
|
Just my 2 cents: It's good to see, that GitHub addressed the problem Actions like With the addition of
As I said, it's cool that it's possible to run the Action on forks, but I wouldn't recommend doing it to anyone. It's probably safer to just use a "push on master" trigger for your projects. 🤷 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GitHub recently introduced ways for Actions to run on forks.
This update now finally allows repository maintainers to write Workflows to run code linters and fixers which can also work on the forks.
This PR updates our documentation with instructions on how to enable GitHub Actions for forks and how to update your Workflows to run on forks.
I've added an example for forks of public repositories, as that combination is more common. For forks of private repositories I've basically added what GitHub recommends doing.
This is the pull request from my test application to test things out: stefanzweifel/git-auto-commit-action-demo-app#15
This is the Actions log on the forked repository: https://github.com/wnxtrash/git-auto-commit-action-demo-app/actions?query=workflow%3A%22Format+PHP%22
This PR closes #90 and also brings a permanent solution for #25.
TODOs