Skip to content

Releases: RDXWorks-actions/github-slug-action

Release list

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 08:36
0f4729f

1.0.0 (2023-11-30)

Bug Fixes

  • do not replace group of dashes with a single dash (ad808ea)
  • GITHUB_REF_NAME: correctly fill the variable on pull request events (2c5a627)
  • manage branch with slash properly (c35fd20)
  • preserve dash groups (1615fcb)
  • remove leading and trailing - caracter (be6ec48)
  • remove trailing hypen if any after cut (0141d9b)
  • remove underscore from URL-compliant slugs (812bd42)
  • set short-length automatically when no checkout (7a3b4c1)
  • short: populate GITHUB_SHA_SHORT correctly (cd9871b)
  • support pull-request for slug and slug url (78985f8)
  • update dependencies to remove internal warnings (b011e83)
  • update dist files (e6c550f)
  • upgrade actions core due to CVE fix (d0549c1)
  • use environment file to manage outputs (00198f8)
  • use github.head_ref env var as trusted input (102b1a0)

Features

  • action: improve marketplace information (3cddc4f)
  • add _CS suffix to keep value case-sensitive (6c93fcb)
  • add GITHUB_BASE_REF_SLUG (6c6b6c9)
  • add GITHUB_HEAD_REF_SLUG (855ce25)
  • add GITHUB_REF_NAME env var (12a7510)
  • add option to set a different short length than git defaults (dbbe21b)
  • add option to set a different slug length than 63 (88f3ee8)
  • add support for windows and macos jobs (13c2f38)
  • allow underscore in slug values (475d293)
  • expose GITHUB_EVENT_PULL_REQUEST_HEAD_SHA_SHORT (5b9fe60)
  • expose GITHUB_REF_SLUG (6ce1dec)
  • expose slug variables for github.event.ref (5a334a8)
  • generate proper git tag (9c3571f)
  • short_sha: add a shortened sha commit id (d77acd4)
  • slug: expose GITHUB_REPOSITORY slugs (ca9a67f)
  • slug: keep period in slug variable (e95fe45)
  • support GHES step output management (a362e5f)
  • support partial GITHUB_REPOSITORY (75ce03b)
  • support prefix on exported variables (e917203)
  • use composite action instead of node (4405613)

BREAKING CHANGES

  • use different backend for the action
  • The action implementation move from container action to node.js action

Co-authored-by: Romain Lespinasse romain.lespinasse@gmail.com

  • slug: The previous slug function is rename slug_url
    to be able to still use itin the subdomain of an url.

Co-authored-by: Marc Schiller m4rc.schiller@gmail.com