Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Sep 15, 2025

Thanks for assigning this issue to me. I'm starting to work on it and will keep this PR's description up to date as I form a plan and make progress.

Original issue description:

@copilot I don't want it local so what do I need to do to make it work where the script is right now.

You're absolutely right - the script shouldn't be local. The issue is in the shared workflow publish-release.yml@latest. It calls bash .github/scripts/ensure-publishable-version.sh but doesn't download the script first, unlike other scripts in the same workflow which use wget.

The fix needed is in the shared workflow at line ~35 to add:

- name: Download ensure-publishable-version script  
  run: |
    mkdir -p .github/scripts
    wget -q https://raw.githubusercontent.com/homebridge/.github/latest/.github/scripts/ensure-publishable-version.sh -O .github/scripts/ensure-publishable-version.sh
    chmod +x .github/scripts/ensure-publishable-version.sh

Removed the local script in commit 1cd56c3. The workflow will fail until the shared workflow is fixed to download the script like it does for other scripts.

Originally posted by @copilot in homebridge-plugins/homebridge-plugin-update-check#172 (comment)

Fixes #43.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

@donavanbecker
Copy link
Contributor

@copilot try again

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.

Reusable Workflow Failure

2 participants