FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

build: adjust actions checkout ref parameter on release by eshattow · Pull Request #1669 · python-zeroconf/python-zeroconf · GitHub

Repository navigation

build: adjust actions checkout ref parameter on release - #1669

Merged
bdraco merged 1 commit into
python-zeroconf:masterfrom
eshattow:release-create-local-branch
May 15, 2026
Merged

bdraco merged 1 commit into
python-zeroconf:masterfrom
eshattow:release-create-local-branch

Conversation

eshattow commented May 3, 2026

Copy link
Copy Markdown
Contributor

Let's use github.ref "ref:" parameter on release and create a local branch name.

Resolves: #1668

Let's use github.ref "ref:" parameter on release and create a local branch name.

codspeed Bot commented May 3, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 6 untouched benchmarks


Comparing eshattow:release-create-local-branch (fd33043) with master (0e94c25)

codecov Bot commented May 3, 2026 •
edited
Loading

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.76%. Comparing base (0e94c25) to head (fd33043).
⚠️ Report is 116 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1669   +/-   ##
=======================================
  Coverage   99.76%   99.76%           
=======================================
  Files          33       33           
  Lines        3401     3401           
  Branches      461      461           
=======================================
  Hits         3393     3393           
  Misses          5        5           
  Partials        3        3           

☔ View full report in Codecov by Harness.
📢 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.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Pull request overview

Adjusts the checkout action's ref parameter in the release-test job to use github.ref (full ref like refs/heads/main or refs/tags/...) instead of github.head_ref || github.ref_name, then recreates a local branch with the short name via git switch -C. This addresses an upstream issue where Python Semantic Release dry-run needs a proper local branch context.

Changes:

  • Use github.ref for the checkout ref to ensure the exact ref is fetched.
  • Add a follow-up step to create/reset a local branch with the head_ref or ref_name.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

bdraco merged commit bc8ec8d into python-zeroconf:master May 15, 2026
46 checks passed
eshattow deleted the release-create-local-branch branch May 16, 2026 04:09

This branch was previously deployed

1 inactive deployment
release — fd330435 Deployed May 3, 2026 by eshattow via release #5182
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

Workflow of python-zeroconf not valid for accepting external Pull Request contributions

3 participants


Back | FazBrowse Home | New Git URL