MrGreensWorkshop / MrGreen-JekyllTheme

Mr. Green is a multilingual theme generated with Jekyll and fully compatible with GitHub Pages.
https://jekyll-theme-mrgreen-demo.mrgreensworkshop.com
MIT License
153 stars 295 forks source link

Workflows runs on forked repos. #171

Closed MrGreensWorkshop closed 1 year ago

MrGreensWorkshop commented 1 year ago

Please check these items before go any further

Are you sure this is a bug?

Describe the bug

As discussion 170 suggests, build-test runs on forked repositories.

Originally posted by **burninghering** February 7, 2023 ![image](https://user-images.githubusercontent.com/37091602/217032599-b19abafa-a886-4338-a5f4-cd9b3f7e17b8.png) Github actions give me these issues. can you give me a solution?

Expected Behavior

None of the workflows must be running at a forked repository.

Steps To Reproduce

  1. Fork the repo
  2. Push the changes
  3. Check Actions tab on Github

Which browser have you used?

Which device have you used?

Anything else?

No response

MrGreensWorkshop commented 1 year ago

Repo name checking wasn't working in workflows because it was only checked in the first step. Repo name checking should be at the top of the steps.