From fd63f11d1956a9e39596e4f9c2018bdb13e16f4a Mon Sep 17 00:00:00 2001 From: px Date: Fri, 18 Jul 2025 13:20:48 -0700 Subject: [PATCH 1/2] feat(workflow): enhance call-prune-releases workflow with push and pull request triggers --- .github/workflows/call-prune-releases.yaml | 35 +++++++++++++++++++--- 1 file changed, 31 insertions(+), 4 deletions(-) diff --git a/.github/workflows/call-prune-releases.yaml b/.github/workflows/call-prune-releases.yaml index 68efae7..d786854 100644 --- a/.github/workflows/call-prune-releases.yaml +++ b/.github/workflows/call-prune-releases.yaml @@ -1,11 +1,38 @@ -name: Call Prune Releases - on: workflow_dispatch: - release: - types: [published, created] + push: + branches: + - main + - stage + - 'feature/**' + - 'bugfix/**' + - 'fix/**' + - 'hotfix/**' + - 'release/**' + - 'dependabot/**' + - 'renovate/**' + - 'chore/**' + - 'test/**' + pull_request: + types: [labeled, synchronize, opened, reopened, ready_for_review] + branches: + - main + - stage + - 'feature/**' + - 'bugfix/**' + - 'fix/**' + - 'hotfix/**' + - 'release/**' + - 'dependabot/**' + - 'renovate/**' + - 'chore/**' + - 'test/**' +permissions: + contents: write jobs: prune_releases: uses: variablesoftware/github-workflows/.github/workflows/prune-releases.yaml@main + with: + releases_to_keep: 2 # Optional, defaults to 3 secrets: inherit \ No newline at end of file From 4bdb94178b90e91ba265cf1b3f991f93c4557a43 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Fri, 18 Jul 2025 20:21:47 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A4=96=20chore(release):=201.3.0=20[s?= =?UTF-8?q?kip=20ci]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # [1.3.0](https://github.com/variablesoftware/github-workflows/compare/v1.2.11...v1.3.0) (2025-07-18) ### Features * **workflow:** enhance call-prune-releases workflow with push and pull request triggers ([fd63f11](https://github.com/variablesoftware/github-workflows/commit/fd63f11d1956a9e39596e4f9c2018bdb13e16f4a)) --- CHANGELOG.md | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 48293ef..6729f09 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# [1.3.0](https://github.com/variablesoftware/github-workflows/compare/v1.2.11...v1.3.0) (2025-07-18) + + +### Features + +* **workflow:** enhance call-prune-releases workflow with push and pull request triggers ([fd63f11](https://github.com/variablesoftware/github-workflows/commit/fd63f11d1956a9e39596e4f9c2018bdb13e16f4a)) + ## [1.2.11](https://github.com/variablesoftware/github-workflows/compare/v1.2.10...v1.2.11) (2025-07-18) ## [1.2.10](https://github.com/variablesoftware/github-workflows/compare/v1.2.9...v1.2.10) (2025-07-18) diff --git a/package.json b/package.json index 6780bff..ec5706f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "github-workflows", - "version": "1.2.11", + "version": "1.3.0", "description": "Reusable GitHub Actions workflows for the organization.", "main": "README.md", "license": "MIT",