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

Show built doc links directly in PR GUI #3711

Merged
merged 10 commits into from
Apr 22, 2021
Merged

Conversation

NicolasHug
Copy link
Member

@NicolasHug NicolasHug commented Apr 22, 2021

This PR adds a new GitHub action that will automatically add a link to the rendered docs once the build_docs job is finished: https://github.com/larsoner/circleci-artifacts-redirector-action

Right now, checking the rendered docs is a bit tedious as one needs to go to the artifacts tab of the build_docs job, and then click on the index.html file. This will save a few clicks each time and make the rendered docs more obvious to everyone!

As explained in the link above, this PR needs to be merged in master before we can even see whether it works or not.

@NicolasHug NicolasHug changed the title WIP Show built doc links directly in PR GUI Show built doc links directly in PR GUI Apr 22, 2021
@NicolasHug NicolasHug marked this pull request as ready for review April 22, 2021 18:13
@datumbox datumbox self-requested a review April 22, 2021 18:33
Copy link
Contributor

@datumbox datumbox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stamping to unblock your work.

@NicolasHug
Copy link
Member Author

thanks :)!
gonna try this out

@NicolasHug
Copy link
Member Author

Update: it worked \o/ #3712

@datumbox
Copy link
Contributor

@NicolasHug Awesome, good one!

@NicolasHug
Copy link
Member Author

Ugh, just FYI, github started doing this literally yesterday: https://github.blog/changelog/2021-04-22-github-actions-maintainers-must-approve-first-time-contributer-workflow-runs/

So the job won't run on PRs from new contributors until we approve it.
There seems to be some backlash to their decision (it doesn't help maintainers at all, it hurts them) so I hope they'll eventually revert it.

@bigfootjon
Copy link
Member

Heads up, I just reverted this PR. It was causing crazy problems for our internal tooling due to the on: status trigger

facebook-github-bot pushed a commit that referenced this pull request May 4, 2021
Reviewed By: NicolasHug

Differential Revision: D28169164

fbshipit-source-id: 30a048c1240c81abb89b033fe66a3143b83a0b80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants