From 90b90509c538ccc1e42051f0cbf006bdf0423842 Mon Sep 17 00:00:00 2001 From: Jack Green Date: Wed, 29 Jul 2026 06:01:21 +0100 Subject: [PATCH] Remove `DISTINCT_ID` release workflow inputs No longer required since https://github.com/Codex-/return-dispatch/releases/tag/v4.0.0, as [GitHub now has built in functionality to support](https://github.blog/changelog/2026-02-19-workflow-dispatch-api-now-returns-run-ids/). --- .github/workflows/package.yml | 9 --------- .github/workflows/promote.yml | 9 --------- 2 files changed, 18 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 17bd379..eb1b41e 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -21,9 +21,6 @@ on: description: 'Environment to use' required: true type: environment - distinct_id: - description: 'Required exclusively for automated execution to track status of workflow execution' - required: false jobs: package: @@ -36,12 +33,6 @@ jobs: id-token: write pull-requests: write steps: - # https://github.com/Codex-/return-dispatch#receiving-repository-action - - name: Logging distinct ID (${{ inputs.distinct_id }}) - run: echo "${DISTINCT_ID}" - env: - DISTINCT_ID: ${{ inputs.distinct_id }} - - uses: actions/checkout@v7 # Required to get the default branch as well, to allow `gh` to accurately determine the diff between branches when deriving PR title from commits with: diff --git a/.github/workflows/promote.yml b/.github/workflows/promote.yml index a253f65..bf42d3c 100644 --- a/.github/workflows/promote.yml +++ b/.github/workflows/promote.yml @@ -21,9 +21,6 @@ on: description: 'Unused, provided for compatibility with a common release promotion interface' required: false type: environment - distinct_id: - description: 'Required exclusively for automated execution to track status of workflow execution' - required: false jobs: promote: @@ -32,12 +29,6 @@ jobs: contents: write pull-requests: write steps: - # https://github.com/Codex-/return-dispatch#receiving-repository-action - - name: Logging distinct ID (${{ inputs.distinct_id }}) - run: echo "${DISTINCT_ID}" - env: - DISTINCT_ID: ${{ inputs.distinct_id }} - - name: Checkout repo uses: actions/checkout@v7