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

feat: convert relative urls to absolute #125

Merged

Conversation

mrtwnklr
Copy link
Contributor

@mrtwnklr mrtwnklr commented Feb 27, 2023

Origin: see #41

Completion of relative urls is configurable with enable-url-completion. Default is false.
For known issues see changes in README.md

For test cases see:

Copy link
Owner

@peter-evans peter-evans left a comment

Choose a reason for hiding this comment

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

This is great. Thank you!

Would you be willing to codify the test cases you have here?
https://github.com/mrtwnklr/workflow-tests/blob/main/DOCKERHUB_DESCRIPTION.md#test-cases

This project doesn't have unit tests yet because it wasn't really that necessary until now. I think readme-helper should really have unit tests, though.

Please put them under __test__. e.g., tests in find-comment action

And just remove --passWithNoTests here:
https://github.com/peter-evans/dockerhub-description/blob/main/package.json#L12

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@mrtwnklr mrtwnklr force-pushed the feat/convert_relative_urls_to_absolute branch from d45762d to 0b49034 Compare March 2, 2023 14:10
@mrtwnklr
Copy link
Contributor Author

mrtwnklr commented Mar 2, 2023

Would you be willing to codify the test cases you have here? https://github.com/mrtwnklr/workflow-tests/blob/main/DOCKERHUB_DESCRIPTION.md#test-cases

Now that you're asking, of course.

@mrtwnklr mrtwnklr force-pushed the feat/convert_relative_urls_to_absolute branch from 0b49034 to 0acae48 Compare March 2, 2023 20:10
@mrtwnklr
Copy link
Contributor Author

mrtwnklr commented Mar 2, 2023

☑️ tests

@peter-evans
Copy link
Owner

Please run npm run format to fix the format. Or you can "allow edits from the maintainer" on the PR.

@mrtwnklr mrtwnklr force-pushed the feat/convert_relative_urls_to_absolute branch from 0acae48 to 64f19e6 Compare March 4, 2023 08:28
@mrtwnklr
Copy link
Contributor Author

mrtwnklr commented Mar 4, 2023

sry, done

Copy link
Owner

@peter-evans peter-evans left a comment

Choose a reason for hiding this comment

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

Thank you for contributing!

I'm going to merge to a dev branch before merging to main because some of my CI tests cannot run on pull requests from forks.

@peter-evans peter-evans changed the base branch from main to dev March 5, 2023 02:10
@peter-evans peter-evans merged commit 8af95de into peter-evans:dev Mar 5, 2023
peter-evans added a commit that referenced this pull request Mar 5, 2023
* feat: convert relative urls to absolute

* test: add tests for conversion of relative urls

Co-authored-by: Marty Winkler <mrtwnklr@users.noreply.github.com>
@peter-evans
Copy link
Owner

Released as v3.2.0 / v3.

@mrtwnklr
Copy link
Contributor Author

mrtwnklr commented Mar 5, 2023

Great! Maybe worth closing #41 ?

@peter-evans
Copy link
Owner

I left a comment here: #41 (comment)

I just want to check if the emoji feature is feasible or not before deciding whether to close.

pascalberger pushed a commit to swissgrc/.github that referenced this pull request Mar 6, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[peter-evans/dockerhub-description](https://togithub.com/peter-evans/dockerhub-description)
| action | minor | `v3.1.2` -> `v3.3.0` |

---

### Release Notes

<details>
<summary>peter-evans/dockerhub-description</summary>

###
[`v3.3.0`](https://togithub.com/peter-evans/dockerhub-description/releases/tag/v3.3.0):
Docker Hub Description v3.3.0

[Compare
Source](https://togithub.com/peter-evans/dockerhub-description/compare/v3.2.0...v3.3.0)

#### What's Changed

- feat: truncate content exceeding the byte limit by
[@&#8203;peter-evans](https://togithub.com/peter-evans) in
[peter-evans/dockerhub-description#129
- 2 dependency updates by
[@&#8203;dependabot](https://togithub.com/dependabot)

**Full Changelog**:
peter-evans/dockerhub-description@v3.2.0...v3.3.0

###
[`v3.2.0`](https://togithub.com/peter-evans/dockerhub-description/releases/tag/v3.2.0):
Docker Hub Description v3.2.0

[Compare
Source](https://togithub.com/peter-evans/dockerhub-description/compare/v3.1.2...v3.2.0)

#### What's Changed

- feat: convert relative urls to absolute
([#&#8203;125](https://togithub.com/peter-evans/dockerhub-description/issues/125))
by [@&#8203;mrtwnklr](https://togithub.com/mrtwnklr) in
[peter-evans/dockerhub-description#126
- 35 dependency updates by
[@&#8203;dependabot](https://togithub.com/dependabot)

#### New Contributors

- [@&#8203;mrtwnklr](https://togithub.com/mrtwnklr) made their first
contribution in
[peter-evans/dockerhub-description#125

**Full Changelog**:
peter-evans/dockerhub-description@v3.1.2...v3.2.0

</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://app.renovatebot.com/dashboard#github/swissgrc/.github).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNTQuNyIsInVwZGF0ZWRJblZlciI6IjM0LjE1Ny4xIn0=-->

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.

None yet

2 participants