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

update repoURL and workflowURL #446

Merged
merged 2 commits into from
Apr 2, 2023
Merged

update repoURL and workflowURL #446

merged 2 commits into from
Apr 2, 2023

Conversation

NextFire
Copy link
Contributor

@NextFire NextFire commented Apr 2, 2023

Use the serverUrl and runId from the GitHub context to generate repoURL and workflowURL.

This fixes the urls when running the action on an alternative forge (e.g. with act-based Gitea/Forgejo Actions).
https://blog.gitea.io/2022/12/feature-preview-gitea-actions/
https://forgejo.org/2023-02-27-forgejo-actions/

Use the serverUrl and runId from the GitHub context.
This fixes the urls when running the action on an alternative forge (e.g. with act-based Gitea/Forgejo Actions)
@NextFire NextFire requested a review from sarisia as a code owner April 2, 2023 00:31
@sarisia
Copy link
Owner

sarisia commented Apr 2, 2023

Thank you for your contribution!
It's great to have support for Gitea and Forgejo! I think this patch also adds support for GHES too, awesome!

Let me add some tests to make sure these change works, thanks!

@sarisia sarisia merged commit 778d4cb into sarisia:main Apr 2, 2023
@sarisia sarisia added the ✨ next release will be included in next release label Apr 2, 2023
@sarisia
Copy link
Owner

sarisia commented Apr 2, 2023

This is now released as v1.12.0, thanks!

@sarisia sarisia removed the ✨ next release will be included in next release label Apr 2, 2023
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