Skip to content

Releases

🔖 branchMatchRegex 3.1.1

Choose a tag to compare

@iampekka058-s-bot iampekka058-s-bot released this 13 Nov 11:25
Immutable release. Only release title and notes can be modified.

What's Changed

  • 📌 Pin ghcr.io/michisec/branchmatchregex Docker tag to 698f41c by @renovate[bot] in #258
  • ⬆️ Upgrade dependency RubberDuckCrew/.github to v3.1.0 by @renovate[bot] in #260
  • ⬆️ Upgrade softprops/action-gh-release action to v3.0.4 by @renovate[bot] in #261
  • 📌 Pin semgrep/semgrep Docker digest to cc1b682 by @renovate[bot] in #262
  • ci: pin release image digest in action.yml by @michisec in #264

Full Changelog: v3.1.0...v3.1.1

🔖 branchMatchRegex 3.1.0

Choose a tag to compare

@iampekka058-s-bot iampekka058-s-bot released this 07 Nov 21:13
Immutable release. Only release title and notes can be modified.

Changed

  • commentOnUnmatchedPattern now defaults to true. Set it to false to disable comments on unmatched branches.

Fixed

  • Existing comments are now found across all pages, preventing duplicate comments on large pull requests.

🔖 branchMatchRegex 3.0.0

Choose a tag to compare

@iampekka058-s-bot iampekka058-s-bot released this 07 Nov 18:30
Immutable release. Only release title and notes can be modified.

✨ Highlights

  • Rewritten in Go – the Node/TypeScript implementation and bundled dist/index.js are gone.
  • Container-based action – runs from ghcr.io/michisec/branchmatchregex and is pulled automatically by GitHub Actions.
  • RE2 regex engine – predictable, linear-time matching without catastrophic backtracking.
  • Automated PR comments – You can now configure the action to post a comment on the pull request if the check fails (disabled by default).

⚠️ Breaking changes

  • Linux runners only. This is a Docker container action; Windows and macOS runners are not supported.
  • Non-blocking by default. Unlike the previous version, the action no longer automatically fails the workflow if the branch name does not meet the rules. You must explicitly configure it to fail if desired.
  • RE2 instead of V8. Lookarounds ((?=...), (?<=...)), backreferences (\1), and other V8-specific regex features are not supported. Such patterns now fail with an explicit ::error::.
  • Exact version pinning required. Use a full release tag:
    uses: michisec/branchMatchRegex@v3.0.0
    There is no moving v3 alias. Minor and patch upgrades require updating the tag.

🔄 Upgrading from v2

Change the version reference:

# before
uses: michisec/branchMatchRegex@v2

# after
uses: michisec/branchMatchRegex@v3.0.0

No input changes are required. If you use advanced regex patterns, verify them before upgrading:

with:
  patterns: |
    feature/.*
    fix/.*
    release/v[0-9]+\.[0-9]+

Wildcard mode works as before:

with:
  useWildcardPatterns: true
  patterns: |
    feature/*
    fix/*

🛠️ Under the hood

  • Go 1.25 with github.com/sethvargo/go-githubactions and gopkg.in/yaml.v3
  • Multi-stage Docker build; runtime image is scratch
  • Repository moved to michisec/branchMatchRegex (old URLs redirect)

Full Changelog: v2.2.1...v3.0.0

🔖 branchMatchRegex 3.0.0-rc4

Choose a tag to compare

@iampekka058-s-bot iampekka058-s-bot released this 07 Nov 08:02
Immutable release. Only release title and notes can be modified.

What's Changed

  • fix(ci): use docker image tags without the v prefix by @michisec in #255

Full Changelog: v3.0.0-rc3...v3.0.0-rc4

🔖 branchMatchRegex 3.0.0-rc3

Choose a tag to compare

@iampekka058-s-bot iampekka058-s-bot released this 07 Nov 07:54
Immutable release. Only release title and notes can be modified.

Full Changelog: v3.0.0-rc2...v3.0.0-rc3

🔖 branchMatchRegex 3.0.0-rc2

Choose a tag to compare

@iampekka058-s-bot iampekka058-s-bot released this 07 Nov 07:38
Immutable release. Only release title and notes can be modified.
7031c98

What's Changed

  • ⬆️ Upgrade softprops/action-gh-release action to v2.6.2 by @renovate[bot] in #243
  • 📌 Pin dependencies by @renovate[bot] in #242
  • ⬆️ Upgrade actions/checkout action to v6.1.0 by @renovate[bot] in #245
  • ⬆️ Upgrade dependency RubberDuckCrew/.github to v2.5.1 by @renovate[bot] in #247
  • ⬆️ Upgrade actions/checkout action to v4.4.0 by @renovate[bot] in #244
  • ⬆️ Upgrade actions/setup-go action to v7 by @renovate[bot] in #249
  • ⬆️ Upgrade actions/create-github-app-token action to v3.3.0 by @renovate[bot] in #246
  • ⬆️ Upgrade actions/checkout action to v7 by @renovate[bot] in #248
  • ci: Tag latest built image and remove sha tag by @michisec in #250
  • ⬆️ Upgrade dependency RubberDuckCrew/.github to v3 by @renovate[bot] in #252
  • 📌 Pin dependencies by @renovate[bot] in #251
  • ⬆️ Upgrade softprops/action-gh-release action to v3 by @renovate[bot] in #253
  • feat: comment on unmatched branches instead of failing by default by @michisec in #254

Full Changelog: v3.0.0-rc1...v3.0.0-rc2

🔖 branchMatchRegex 3.0.0-rc1

Choose a tag to compare

@iampekka058-s-bot iampekka058-s-bot released this 06 Nov 22:16
Immutable release. Only release title and notes can be modified.

First release candidate of the Go rewrite. Inputs stay the same, but the action now runs from an immutable container image and evaluates patterns with RE2.

✨ Highlights

  • Rewritten in Go – the Node/TypeScript implementation and bundled dist/index.js are gone.
  • Container-based action – runs from ghcr.io/michisec/branchmatchregex and is pulled automatically by GitHub Actions.
  • RE2 regex engine – predictable, linear-time matching without catastrophic backtracking.
  • Immutable releases – exact versions only; no latest, moving v3, or v3.0 tags.
  • Same inputs – patterns, path, failOnUnmatchedPattern, useWildcardPatterns, useDefaultPatterns, and branch are unchanged from v2.
  • Small runtime footprint – static Go binary in a scratch image, with only CA certificates added.

⚠️ Breaking changes

  • Linux runners only. This is a Docker container action; Windows and macOS runners are not supported.
  • RE2 instead of V8. Lookarounds ((?=...), (?<=...)), backreferences (\1), and other V8-specific regex features are not supported. Such patterns now fail with an explicit ::error::.
  • Exact version pinning required. Use a full release tag:
    uses: michisec/branchMatchRegex@v3.0.0-rc.1
    There is no moving v3 alias. Minor and patch upgrades require updating the tag.
  • GHCR image must be reachable. The container package must be public, or the consuming workflow needs package access.
  • The old v2 tag is frozen at v2.2.1 and no longer receives updates.

🔄 Upgrading from v2

Change the version reference:

# before
uses: michisec/branchMatchRegex@v2

# after
uses: michisec/branchMatchRegex@v3.0.0-rc.1

No input changes are required. If you use advanced regex patterns, verify them before upgrading:

with:
  patterns: |
    feature/.*
    fix/.*
    release/v[0-9]+\.[0-9]+

Wildcard mode works as before:

with:
  useWildcardPatterns: true
  patterns: |
    feature/*
    fix/*

🧪 Please test

This is an RC. Feedback is especially useful on:

  • existing workflows with unchanged inputs
  • wildcard patterns and useDefaultPatterns
  • patterns loaded from files and URLs
  • failOnUnmatchedPattern: false
  • regex patterns that may use lookarounds or backreferences
  • self-hosted Linux runners and GHCR access

📦 Container image

Release images are published as:

  • ghcr.io/michisec/branchmatchregex:v3.0.0-rc.1
  • ghcr.io/michisec/branchmatchregex:sha-<full-commit-sha>

There is intentionally no latest or moving major tag. Every deployed version stays reproducible.

🛠️ Under the hood

  • Go 1.25 with github.com/sethvargo/go-githubactions and gopkg.in/yaml.v3
  • Tests ported from Jest to Go; internal/patterns and internal/runner are at 100 % statement coverage
  • CI now runs gofmt, go vet, golangci-lint, and go test -race
  • Multi-stage Docker build; runtime image is scratch
  • Repository moved to michisec/branchMatchRegex (old URLs redirect)

📝 Notes

  • This release candidate is intended for validation before v3.0.0.
  • If anything breaks, please include the action version, runner OS, and the pattern configuration in the issue.

Full Changelog: v2.2.1...v3.0.0-rc1

🔖 branchMatchRegex 2.2.1

Choose a tag to compare

@github-actions github-actions released this 30 Mar 07:40
e5d9119

Features

  • ✨ Log warning for deprecated floating tags in GitHub Actions by @IamPekka058 in #223

LCM

  • ⬆️ Upgrade ruby/setup-ruby action to v1.295.0 by @renovate[bot] in #210
  • ⬆️ Upgrade actions/setup-node action to v6.3.0 by @renovate[bot] in #209
  • ⬆️ Upgrade dependency eslint-plugin-jest to v29.15.1 by @renovate[bot] in #213
  • ⬆️ Upgrade Node.js to v24.14.1 by @renovate[bot] in #214
  • ⬆️ Upgrade dependency node to v24.14.1 by @renovate[bot] in #215
  • ⬆️ Upgrade ruby/setup-ruby action to v1.296.0 by @renovate[bot] in #216
  • ⬆️ Upgrade ruby/setup-ruby action to v1.297.0 by @renovate[bot] in #217
  • ⬆️ Upgrade ruby/setup-ruby action to v1.298.0 by @renovate[bot] in #218
  • ⬆️ Upgrade ruby/setup-ruby action to v1.299.0 by @renovate[bot] in #219
  • ⬆️ Bump handlebars from 4.7.8 to 4.7.9 by @dependabot[bot] in #220
  • ⬆️ Bump picomatch from 2.3.1 to 2.3.2 by @dependabot[bot] in #221

Full Changelog: v2.2.0...v2.2.1

🔖 branchMatchRegex 2.2.0

Choose a tag to compare

@github-actions github-actions released this 23 Mar 21:19
d4e2e47

What's Changed

  • ⬆️ Upgrade dependency @rollup/rollup-linux-x64-gnu to v4.59.1 by @renovate[bot] in #196
  • ⬆️ Upgrade dependency rollup to v4.59.1 by @renovate[bot] in #197
  • 🔧 Modify Renovate configuration for custom workflow by @IamPekka058 in #198
  • 🔧 Update Renovate configuration to use new extends path by @IamPekka058 in #200
  • 🔧 Update Renovate configuration to use version 2 by @IamPekka058 in #201
  • 📌 Pin dependencies by @renovate[bot] in #202
  • ⬆️ Upgrade actions/checkout action to v6.0.2 by @renovate[bot] in #203
  • Bump flatted from 3.3.3 to 3.4.2 by @dependabot[bot] in #204
  • ⬆️ Upgrade dependency yaml to v2.8.3 by @renovate[bot] in #205
  • 🔧 Switch from rollup to vercel/ncc and cleanup project by @IamPekka058 in #206
  • ⬆️ Upgrade typescript-eslint monorepo to v8.57.2 by @renovate[bot] in #207
  • 🎨 Format code by @IamPekka058 in #208
  • 🔧 Update build step in release workflow to use 'npm run package' by @IamPekka058 in #211

Full Changelog: v2...v2.2.0

v2.1.1

Choose a tag to compare

@michisec michisec released this 16 Mar 19:36
11a3768

What's Changed

  • ⬆️ Upgrade dependency @github/local-action to v6 by @renovate[bot] in #45
  • ⬆️ Upgrade dependency @types/node to v24.3.3 by @renovate[bot] in #46
  • ⬆️ Upgrade dependency @types/node to v24.4.0 by @renovate[bot] in #47
  • ⬆️ Upgrade dependency @rollup/rollup-linux-x64-gnu to v4.50.2 by @renovate[bot] in #48
  • ⬆️ Upgrade dependency ts-jest to v29.4.2 by @renovate[bot] in #50
  • ⬆️ Upgrade typescript-eslint monorepo to v8.44.0 by @renovate[bot] in #52
  • ⬆️ Upgrade dependency @types/node to v24.5.0 by @renovate[bot] in #51
  • ⬆️ Upgrade dependency rollup to v4.50.2 by @renovate[bot] in #49
  • ⬆️ Upgrade dependency @types/node to v24.5.1 by @renovate[bot] in #53
  • ⬆️ Upgrade dependency @types/node to v24.5.2 by @renovate[bot] in #54
  • ⬆️ Upgrade dependency ts-jest to v29.4.3 by @renovate[bot] in #55
  • Revert "⬆️ Upgrade dependency ts-jest to v29.4.3" by @IamPekka058 in #56
  • 👷 Add GitHub Actions workflow for running tests by @IamPekka058 in #61
  • ⬆️ Upgrade actions/checkout action to v5 by @renovate[bot] in #62
  • ⬆️ Upgrade actions/setup-node action to v5 by @renovate[bot] in #63
  • ⬆️ Upgrade dependency ts-jest to v29.4.4 by @renovate[bot] in #57
  • ⬆️ Upgrade dependency eslint to v9.36.0 by @renovate[bot] in #60
  • ⬆️ Upgrade dependency rollup to v4.51.0 by @renovate[bot] in #59
  • ⬆️ Upgrade dependency rollup to v4.52.0 by @renovate[bot] in #64
  • ⬆️ Upgrade typescript-eslint monorepo to v8.44.1 by @renovate[bot] in #65
  • ⬆️ Upgrade dependency @rollup/rollup-linux-x64-gnu to v4.52.2 by @renovate[bot] in #58
  • ⬆️ Upgrade dependency @eslint/compat to v1.4.0 by @renovate[bot] in #66
  • ⬆️ Upgrade dependency rollup to v4.52.2 by @renovate[bot] in #67
  • ⬆️ Upgrade Node.js to v24.9.0 by @renovate[bot] in #68
  • ⬆️ Upgrade dependency @rollup/rollup-linux-x64-gnu to v4.52.3 by @renovate[bot] in #69
  • ⬆️ Upgrade jest monorepo to v30.2.0 by @renovate[bot] in #71
  • ⬆️ Upgrade dependency rollup to v4.52.3 by @renovate[bot] in #70
  • ⬆️ Upgrade dependency @types/node to v24.6.0 by @renovate[bot] in #72
  • ⬆️ Upgrade dependency cross-env to v10.1.0 by @renovate[bot] in #73
  • ⬆️ Upgrade typescript-eslint monorepo to v8.45.0 by @renovate[bot] in #74
  • 👷 Disable biome linting by @IamPekka058 in #77
  • ⬆️ Upgrade dependency @types/node to v24.6.1 by @renovate[bot] in #76
  • ⬆️ Upgrade dependency typescript to v5.9.3 by @renovate[bot] in #75
  • ⬆️ Upgrade dependency @types/node to v24.6.2 by @renovate[bot] in #78
  • ⬆️ Upgrade dependency @rollup/rollup-linux-x64-gnu to v4.52.4 by @renovate[bot] in #79
  • ⬆️ Upgrade dependency rollup to v4.52.4 by @renovate[bot] in #80
  • ⬆️ Upgrade dependency eslint to v9.37.0 by @renovate[bot] in #81
  • ⬆️ Upgrade dependency @rollup/plugin-node-resolve to v16.0.2 by @renovate[bot] in #82
  • ⬆️ Upgrade dependency @types/node to v24.7.0 by @renovate[bot] in #83
  • ⬆️ Upgrade typescript-eslint monorepo to v8.46.0 by @renovate[bot] in #84
  • ⬆️ Upgrade github/codeql-action action to v4 by @renovate[bot] in #85
  • ⬆️ Upgrade Node.js to v24.10.0 by @renovate[bot] in #86
  • ⬆️ Upgrade dependency @types/node to v24.7.1 by @renovate[bot] in #87
  • ⬆️ Upgrade dependency ts-jest to v29.4.5 by @renovate[bot] in #88
  • ⬆️ Upgrade dependency @types/node to v24.7.2 by @renovate[bot] in #89
  • ⬆️ Upgrade dependency @rollup/plugin-node-resolve to v16.0.3 by @renovate[bot] in #90
  • ⬆️ Upgrade typescript-eslint monorepo to v8.46.1 by @renovate[bot] in #91
  • ⬆️ Upgrade actions/setup-node action to v6 by @renovate[bot] in #92
  • ⬆️ Upgrade dependency @types/node to v24.8.0 by @renovate[bot] in #94
  • ⬆️ Upgrade dependency eslint to v9.38.0 by @renovate[bot] in #96
  • ⬆️ Upgrade actions/upload-artifact action to v5 by @renovate[bot] in #102
  • ⬆️ Upgrade dependency @github/local-action to v6.0.2 by @renovate[bot] in #99
  • ⬆️ Upgrade dependency @rollup/rollup-linux-x64-gnu to v4.52.5 by @renovate[bot] in #97
  • ⬆️ Upgrade dependency rollup to v4.52.5 by @renovate[bot] in #98
  • ⬆️ Upgrade dependency @types/node to v24.9.1 by @renovate[bot] in #95
  • ⬆️ Upgrade dependency @rollup/plugin-typescript to v12.3.0 by @renovate[bot] in #101
  • ⬆️ Upgrade typescript-eslint monorepo to v8.46.2 by @renovate[bot] in #100
  • ⬆️ Upgrade dependency node to v24 by @renovate[bot] in #103
  • ⬆️ Upgrade Node.js to v24.11.0 by @renovate[bot] in #104
  • ⬆️ Upgrade dependency @types/node to v24.9.2 by @renovate[bot] in #105
  • ⬆️ Upgrade dependency @eslint/compat to v1.4.1 by @renovate[bot] in #106
  • ⬆️ Upgrade typescript-eslint monorepo to v8.46.3 by @renovate[bot] in #110
  • ⬆️ Upgrade dependency eslint to v9.39.1 by @renovate[bot] in #108
  • ⬆️ Upgrade dependency @types/node to v24.10.0 by @renovate[bot] in #109
  • ⬆️ Upgrade dependency @rollup/plugin-commonjs to v29 by @renovate[bot] in #107
  • ⬆️ Upgrade dependency @rollup/rollup-linux-x64-gnu to v4.53.0 by @renovate[bot] in #111
  • ⬆️ Upgrade dependency @rollup/rollup-linux-x64-gnu to v4.53.1 by @renovate[bot] in #113
  • ⬆️ Upgrade dependency @rollup/rollup-linux-x64-gnu to v4.53.2 by @renovate[bot] in #114
  • ⬆️ Upgrade typescript-eslint monorepo to v8.46.4 by @renovate[bot] in #115
  • ⬆️ Upgrade dependency @types/node to v24.10.1 by @renovate[bot] in #117
  • ⬆️ Upgrade Node.js to v24.11.1 by @renovate[bot] in #118
  • ⬆️ Upgrade typescript-eslint monorepo to v8.47.0 by @renovate[bot] in #120
  • ⬆️ Upgrade dependency @eslint/compat to v2 by @renovate[bot] in #119
  • ⬆️ Upgrade dependency eslint-plugin-jest to v29.1.0 by @renovate[bot] in #116
  • ⬆️ Upgrade dependency @rollup/rollup-linux-x64-gnu to v4.53.3 by @renovate[bot] in #121
  • ⬆️ Upgrade typescript-eslint monorepo to v8.48.0 by @renovate[bot] in #124
  • ⬆️ Upgrade dependency eslint-plugin-jest to v29.2.1 by @renovate[bot] in #123
  • ⬆️ Upgrade actions/checkout action to v6 by @renovate[bot] in #122
  • ⬆️ Upgrade dependency ts-jest to v29.4.6 by @renovate[bot] in htt...
Read more