diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml index 24ba67f..8d9aa68 100644 --- a/.github/workflows/auto-merge.yml +++ b/.github/workflows/auto-merge.yml @@ -36,7 +36,6 @@ jobs: - name: Automerge PR if CI passes uses: pascalgn/automerge-action@v0.16.4 env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} MERGE_METHOD: squash MERGE_LABELS: '' MERGE_FORKS: 'true' diff --git a/.github/workflows/call-prune-releases.yaml b/.github/workflows/call-prune-releases.yaml index 641e8bb..68efae7 100644 --- a/.github/workflows/call-prune-releases.yaml +++ b/.github/workflows/call-prune-releases.yaml @@ -2,34 +2,8 @@ name: Call Prune Releases on: workflow_dispatch: - - 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/**' + release: + types: [published, created] jobs: prune_releases: diff --git a/.github/workflows/ci-semantic-release-sync.yml b/.github/workflows/ci-semantic-release-sync.yml index a851471..349f3af 100644 --- a/.github/workflows/ci-semantic-release-sync.yml +++ b/.github/workflows/ci-semantic-release-sync.yml @@ -64,7 +64,7 @@ on: default: '1' concurrency: - group: ci-release-sync-${{ github.ref }} + group: ci-release-sync-${{ github.ref }}-${{ github.event_name }} cancel-in-progress: true jobs: @@ -123,8 +123,32 @@ jobs: echo "PNPM VERSION: $(pnpm --version)" which pnpm env | grep -E 'PNPM|NPM|NODE|PATH' - - run: pnpm install --frozen-lockfile - - run: | + - name: Install Dependencies + run: pnpm install --frozen-lockfile + - name: Debug GitHub Context + run: | + echo "GITHUB_CONTEXT VARIABLES:" + echo " github.ref: ${{ github.ref }}" + echo " github.ref_name: ${{ github.ref_name }}" + echo " github.repository: ${{ github.repository }}" + echo " github.repository_owner: ${{ github.repository_owner }}" + echo " github.event_name: ${{ github.event_name }}" + echo " github.sha: ${{ github.sha }}" + echo " github.actor: ${{ github.actor }}" + echo " github.workflow: ${{ github.workflow }}" + echo " github.run_id: ${{ github.run_id }}" + echo " github.run_number: ${{ github.run_number }}" + echo " github.head_ref: ${{ github.head_ref }}" + echo " github.base_ref: ${{ github.base_ref }}" + echo " github.job: ${{ github.job }}" + echo " github.workspace: ${{ github.workspace }}" + echo " github.action: ${{ github.action }}" + echo " github.triggering_actor: ${{ github.triggering_actor }}" + echo " github.server_url: ${{ github.server_url }}" + echo " github.api_url: ${{ github.api_url }}" + echo " github.graphql_url: ${{ github.graphql_url }}" + - name: Run Semantic Release or Skip + run: | if [ "${{ inputs.RUN_RELEASE }}" = "1" ]; then pnpm semantic-release else diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b28f38..9d31154 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +## [1.2.8](https://github.com/variablesoftware/github-workflows/compare/v1.2.7...v1.2.8) (2025-06-20) + ## [1.2.7](https://github.com/variablesoftware/github-workflows/compare/v1.2.6...v1.2.7) (2025-06-20) ## [1.2.6](https://github.com/variablesoftware/github-workflows/compare/v1.2.5...v1.2.6) (2025-06-20) diff --git a/package.json b/package.json index 675eaa9..68155ba 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "github-workflows", - "version": "1.2.7", + "version": "1.2.8", "description": "Reusable GitHub Actions workflows for the organization.", "main": "README.md", "license": "MIT",