diff --git a/.changeset/force-44850712863-patch.md b/.changeset/force-44850712863-patch.md new file mode 100644 index 000000000..72ae81237 --- /dev/null +++ b/.changeset/force-44850712863-patch.md @@ -0,0 +1,5 @@ +--- +"@systemfsoftware/omp-claude-compat": patch +--- + +chore(release): force patch release via workflow dispatch diff --git a/.github/workflows/force-release.yml b/.github/workflows/force-release.yml index a6174bf17..a186ba76f 100644 --- a/.github/workflows/force-release.yml +++ b/.github/workflows/force-release.yml @@ -14,13 +14,17 @@ on: - major permissions: - contents: write - pull-requests: write + contents: read jobs: force-release: name: dummy changeset + release PR runs-on: ubuntu-latest + # Only this job writes: it pushes the branch, opens the pull request and dispatches CI on the branch. + permissions: + actions: write + contents: write + pull-requests: write env: HUSKY: "0" steps: @@ -54,3 +58,7 @@ jobs: --head "$BRANCH" \ --title "chore(release): force $BUMP" \ --body "Manually triggered ${BUMP} release (run ${{ github.run_id }}). Merging drops a dummy changeset intent on main; the Release workflow then opens the version-packages PR." + # A pull request opened with the workflow token starts its pull_request workflows in `action_required` with + # no jobs, so the required check is never emitted. A dispatched run is not gated that way and reports its + # checks on the branch head the pull request points at. + gh workflow run ci.yml --ref "refs/heads/$BRANCH"