Skip to content

build: adjust actions checkout ref parameter on release#80

Draft
bluetoothbot wants to merge 1 commit into
Bluetooth-Devices:mainfrom
bluetoothbot:koan/fix-issue-79
Draft

build: adjust actions checkout ref parameter on release#80
bluetoothbot wants to merge 1 commit into
Bluetooth-Devices:mainfrom
bluetoothbot:koan/fix-issue-79

Conversation

@bluetoothbot
Copy link
Copy Markdown
Contributor

@bluetoothbot bluetoothbot commented May 28, 2026

Summary

Use github.ref for checkout and create a local branch name so the release job succeeds in CI runs originating from forks. Mirrors the usb-devices fix (PR #70).

Closes #79

Changes

  • Switch ref: ${{ github.head_ref || github.ref_name }} to ref: ${{ github.ref }} for actions/checkout.
  • Add a Create local branch name step running git switch -C -- "$BRANCH" so PSR sees a named branch.

Test plan

  • CI from a fork PR exercises the release job without failing on the checkout step.

Generated by Kōan


Quality Report

Changes: 1 file changed, 6 insertions(+), 1 deletion(-)

Code scan: clean

Tests: passed (2 passed)

Branch hygiene: clean

Generated by Kōan post-mission quality pipeline

Use github.ref for checkout and create a local branch name so the
release job succeeds in CI runs originating from forks. Mirrors the
usb-devices fix (PR Bluetooth-Devices#70).

Closes Bluetooth-Devices#79

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented May 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.68%. Comparing base (0184954) to head (9d6173b).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #80   +/-   ##
=======================================
  Coverage   73.68%   73.68%           
=======================================
  Files           1        1           
  Lines          38       38           
  Branches        3        3           
=======================================
  Hits           28       28           
  Misses         10       10           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

need the same fix usb-devices got to fix release workflow failing from forks

1 participant