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

Don't try to deploy to GitHub Pages if it's not enabled #4809

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

leo60228
Copy link

Description

This uses the octokit/request-action action (which I believe is owned by GitHub?) to intentionally fail early if GitHub Pages isn't enabled for the repository, and allows the workflow to still succeed. This is mostly inconsequential, but prevents forks with Actions enabled but not Pages from having their master branch marked as failing.

I haven't seen any other repos that do anything like this, but @AlexOn1ine reported confusion from the failing workflow on Discord. It could conceivably also mask legitimate issues, but this would be rare.

Discord contact info

leo60228

@AlexOn1ine AlexOn1ine merged commit 566ad6d into rh-hideout:master Jun 25, 2024
1 check passed
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.

2 participants