typelevel / typelevel/sbt-typelevel

sbt-typelevel-github-actions: JobEnvironment prevents templating url

Open
#802 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
185
Forks
62
PR merge metrics
No merged PRs in 30d

Description

Currently, JobEnvironment requires a java.net.URL, which seems to prevent certain usecases such as templating based on a step output - e.g. as in https://docs.github.com/en/pages/getting-started-with-github-pages/using-custom-workflows-with-github-pages.

I think a variant should be added that allows passing an arbitrary string that doesn't get parsed as a URL.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating JobEnvironment and the existing java.net.URL handling in the sbt-typelevel GitHub Actions integration. Compare the current URL requirement with the linked GitHub Pages workflow's templated step output; done means an arbitrary string can be passed without URL parsing while preserving existing URL behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, scala
Domain
build-system, ci-cd
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.