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

Fixes $github-pages health-check NoMethodError #878

Merged
merged 1 commit into from
Dec 28, 2023

Conversation

edward
Copy link
Contributor

@edward edward commented Apr 2, 2023

Running $github-pages health-check will cause a NoMethodError exception because File.exists? is not defined.

This patch updates it to use File.exist? which is what I think was intended.

Copy link
Contributor

@parkr parkr left a comment

Choose a reason for hiding this comment

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

@edward
Copy link
Contributor Author

edward commented Apr 2, 2023 via email

@yoannchaudet yoannchaudet merged commit fe6c454 into github:master Dec 28, 2023
@edward
Copy link
Contributor Author

edward commented Dec 28, 2023

Thank you!

another-rex referenced this pull request in google/osv-scanner Feb 14, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github-pages](https://togithub.com/github/pages-gem) | `"~> 228"` ->
`"~> 230"` |
[![age](https://developer.mend.io/api/mc/badges/age/rubygems/github-pages/230?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/rubygems/github-pages/230?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/rubygems/github-pages/228/230?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/rubygems/github-pages/228/230?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>github/pages-gem (github-pages)</summary>

### [`v230`](https://togithub.com/github/pages-gem/releases/tag/v230)

[Compare
Source](https://togithub.com/github/pages-gem/compare/v229...v230)

#### What's Changed

- Bump docker/login-action from 2 to 3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/github/pages-gem/pull/907](https://togithub.com/github/pages-gem/pull/907)
- Bump docker/build-push-action from 4 to 5 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/github/pages-gem/pull/905](https://togithub.com/github/pages-gem/pull/905)
- Bump docker/setup-buildx-action from 2 to 3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/github/pages-gem/pull/906](https://togithub.com/github/pages-gem/pull/906)
- Bump Jekyll to 3.9.5 by
[@&#8203;yoannchaudet](https://togithub.com/yoannchaudet) in
[https://github.com/github/pages-gem/pull/908](https://togithub.com/github/pages-gem/pull/908)

**Full Changelog**:
github/pages-gem@v229...v230

### [`v229`](https://togithub.com/github/pages-gem/releases/tag/v229)

[Compare
Source](https://togithub.com/github/pages-gem/compare/v228...v229)

#### What's Changed

- Bump docker/metadata-action from 4 to 5 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/github/pages-gem/pull/889](https://togithub.com/github/pages-gem/pull/889)
- Bump actions/checkout from 3 to 4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/github/pages-gem/pull/888](https://togithub.com/github/pages-gem/pull/888)
- Fixes `$github-pages health-check` NoMethodError by
[@&#8203;edward](https://togithub.com/edward) in
[https://github.com/github/pages-gem/pull/878](https://togithub.com/github/pages-gem/pull/878)
- Support Ruby 3.2+, fixes
[#&#8203;879](https://togithub.com/github/pages-gem/issues/879) by
[@&#8203;fulldecent](https://togithub.com/fulldecent) in
[https://github.com/github/pages-gem/pull/880](https://togithub.com/github/pages-gem/pull/880)
- Create publish-gem.yml by
[@&#8203;tsusdere](https://togithub.com/tsusdere) in
[https://github.com/github/pages-gem/pull/898](https://togithub.com/github/pages-gem/pull/898)
- Bump actions/checkout from 3 to 4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/github/pages-gem/pull/900](https://togithub.com/github/pages-gem/pull/900)
- Enable multi arch docker image build by
[@&#8203;rngtng](https://togithub.com/rngtng) in
[https://github.com/github/pages-gem/pull/884](https://togithub.com/github/pages-gem/pull/884)
- Bring back proper support for Ruby 3.x by
[@&#8203;yoannchaudet](https://togithub.com/yoannchaudet) in
[https://github.com/github/pages-gem/pull/901](https://togithub.com/github/pages-gem/pull/901)
- Bump dependencies (patch and minor only) by
[@&#8203;yoannchaudet](https://togithub.com/yoannchaudet) in
[https://github.com/github/pages-gem/pull/902](https://togithub.com/github/pages-gem/pull/902)
- Fix release script by
[@&#8203;yoannchaudet](https://togithub.com/yoannchaudet) in
[https://github.com/github/pages-gem/pull/903](https://togithub.com/github/pages-gem/pull/903)
- Another publish script fix by
[@&#8203;yoannchaudet](https://togithub.com/yoannchaudet) in
[https://github.com/github/pages-gem/pull/904](https://togithub.com/github/pages-gem/pull/904)

#### New Contributors

- [@&#8203;edward](https://togithub.com/edward) made their first
contribution in
[https://github.com/github/pages-gem/pull/878](https://togithub.com/github/pages-gem/pull/878)
- [@&#8203;fulldecent](https://togithub.com/fulldecent) made their first
contribution in
[https://github.com/github/pages-gem/pull/880](https://togithub.com/github/pages-gem/pull/880)
- [@&#8203;tsusdere](https://togithub.com/tsusdere) made their first
contribution in
[https://github.com/github/pages-gem/pull/898](https://togithub.com/github/pages-gem/pull/898)
- [@&#8203;rngtng](https://togithub.com/rngtng) made their first
contribution in
[https://github.com/github/pages-gem/pull/884](https://togithub.com/github/pages-gem/pull/884)

**Full Changelog**:
github/pages-gem@v228...v229

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 6am on monday" in timezone
Australia/Sydney, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/google/osv-scanner).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
werdnanoslen referenced this pull request in trussworks/research-design-playbook Feb 29, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github-pages](https://togithub.com/github/pages-gem) | `"~> 228"` ->
`"~> 231"` |
[![age](https://developer.mend.io/api/mc/badges/age/rubygems/github-pages/231?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/rubygems/github-pages/231?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/rubygems/github-pages/228/231?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/rubygems/github-pages/228/231?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>github/pages-gem (github-pages)</summary>

### [`v231`](https://togithub.com/github/pages-gem/releases/tag/v231)

[Compare
Source](https://togithub.com/github/pages-gem/compare/v230...v231)

#### What's Changed

- Revert jekyll-relative-links to 0.6.1 and add a test by
[@&#8203;yoannchaudet](https://togithub.com/yoannchaudet) in
[https://github.com/github/pages-gem/pull/910](https://togithub.com/github/pages-gem/pull/910)

**Full Changelog**:
github/pages-gem@v230...v231

### [`v230`](https://togithub.com/github/pages-gem/releases/tag/v230)

[Compare
Source](https://togithub.com/github/pages-gem/compare/v229...v230)

#### What's Changed

- Bump docker/login-action from 2 to 3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/github/pages-gem/pull/907](https://togithub.com/github/pages-gem/pull/907)
- Bump docker/build-push-action from 4 to 5 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/github/pages-gem/pull/905](https://togithub.com/github/pages-gem/pull/905)
- Bump docker/setup-buildx-action from 2 to 3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/github/pages-gem/pull/906](https://togithub.com/github/pages-gem/pull/906)
- Bump Jekyll to 3.9.5 by
[@&#8203;yoannchaudet](https://togithub.com/yoannchaudet) in
[https://github.com/github/pages-gem/pull/908](https://togithub.com/github/pages-gem/pull/908)

**Full Changelog**:
github/pages-gem@v229...v230

### [`v229`](https://togithub.com/github/pages-gem/releases/tag/v229)

[Compare
Source](https://togithub.com/github/pages-gem/compare/v228...v229)

#### What's Changed

- Bump docker/metadata-action from 4 to 5 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/github/pages-gem/pull/889](https://togithub.com/github/pages-gem/pull/889)
- Bump actions/checkout from 3 to 4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/github/pages-gem/pull/888](https://togithub.com/github/pages-gem/pull/888)
- Fixes `$github-pages health-check` NoMethodError by
[@&#8203;edward](https://togithub.com/edward) in
[https://github.com/github/pages-gem/pull/878](https://togithub.com/github/pages-gem/pull/878)
- Support Ruby 3.2+, fixes
[#&#8203;879](https://togithub.com/github/pages-gem/issues/879) by
[@&#8203;fulldecent](https://togithub.com/fulldecent) in
[https://github.com/github/pages-gem/pull/880](https://togithub.com/github/pages-gem/pull/880)
- Create publish-gem.yml by
[@&#8203;tsusdere](https://togithub.com/tsusdere) in
[https://github.com/github/pages-gem/pull/898](https://togithub.com/github/pages-gem/pull/898)
- Bump actions/checkout from 3 to 4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/github/pages-gem/pull/900](https://togithub.com/github/pages-gem/pull/900)
- Enable multi arch docker image build by
[@&#8203;rngtng](https://togithub.com/rngtng) in
[https://github.com/github/pages-gem/pull/884](https://togithub.com/github/pages-gem/pull/884)
- Bring back proper support for Ruby 3.x by
[@&#8203;yoannchaudet](https://togithub.com/yoannchaudet) in
[https://github.com/github/pages-gem/pull/901](https://togithub.com/github/pages-gem/pull/901)
- Bump dependencies (patch and minor only) by
[@&#8203;yoannchaudet](https://togithub.com/yoannchaudet) in
[https://github.com/github/pages-gem/pull/902](https://togithub.com/github/pages-gem/pull/902)
- Fix release script by
[@&#8203;yoannchaudet](https://togithub.com/yoannchaudet) in
[https://github.com/github/pages-gem/pull/903](https://togithub.com/github/pages-gem/pull/903)
- Another publish script fix by
[@&#8203;yoannchaudet](https://togithub.com/yoannchaudet) in
[https://github.com/github/pages-gem/pull/904](https://togithub.com/github/pages-gem/pull/904)

#### New Contributors

- [@&#8203;edward](https://togithub.com/edward) made their first
contribution in
[https://github.com/github/pages-gem/pull/878](https://togithub.com/github/pages-gem/pull/878)
- [@&#8203;fulldecent](https://togithub.com/fulldecent) made their first
contribution in
[https://github.com/github/pages-gem/pull/880](https://togithub.com/github/pages-gem/pull/880)
- [@&#8203;tsusdere](https://togithub.com/tsusdere) made their first
contribution in
[https://github.com/github/pages-gem/pull/898](https://togithub.com/github/pages-gem/pull/898)
- [@&#8203;rngtng](https://togithub.com/rngtng) made their first
contribution in
[https://github.com/github/pages-gem/pull/884](https://togithub.com/github/pages-gem/pull/884)

**Full Changelog**:
github/pages-gem@v228...v229

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/trussworks/research-design-playbook).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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.

3 participants