Skip to content

Conversation

@alexhancock
Copy link
Collaborator

@alexhancock alexhancock commented Sep 23, 2025

Error: Error 422: Validation Failed: {"resource":"Release","code":"custom","field":"pre_receive","message":"pre_receive Repository rule violations found\n\nCannot create ref due to creations being restricted.\n\n"}, {"resource":"Release","code":"custom","message":"Published releases must have a valid tag"}

Attempt at fixing the above error that happens in nightly builds at present

Example: https://github.com/block/goose/actions/runs/17936231221/job/51003691059

This also allows manual testing of the workflow so I can diagnose if anything still doesn't work on a branch after this change merges.

@alexhancock alexhancock requested a review from jamadeo September 23, 2025 13:44
@alexhancock alexhancock force-pushed the alexhancock/nightly-tags branch from 133efc7 to bb20ba0 Compare September 23, 2025 14:36
run: |
TAG="${{ needs.prepare-version.outputs.version }}"
# Validate version format (expects format like: x.y.z-nightly.YYYYMMDD)
Copy link
Collaborator

Choose a reason for hiding this comment

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

seems a little out of place, if we think it could be invalid shouldn't it validate in the step where it is created?

git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
# Force create and push tag (overwrites if exists)
Copy link
Collaborator

Choose a reason for hiding this comment

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

is the forcing necessary? consider if we can have that off at least by default

@alexhancock alexhancock force-pushed the alexhancock/nightly-tags branch from bb20ba0 to cc45e23 Compare September 23, 2025 15:02
@alexhancock alexhancock merged commit 6fc49d0 into main Sep 23, 2025
11 checks passed
@alexhancock alexhancock deleted the alexhancock/nightly-tags branch September 23, 2025 15:33
zanesq added a commit that referenced this pull request Sep 23, 2025
…-unification

* 'main' of github.com:block/goose:
  [docs] Add gotoHuman MCP server Tutorial (#4764)
  fix: adjust nightly builds to first push a tag (#4704)
katzdave added a commit that referenced this pull request Sep 24, 2025
…ovements

* 'main' of github.com:block/goose:
  Remove now unused mcp-server crate (#4773)
  Release/1.9.0 (#4703)
  chore(mcp): convert computercontroller server to use the rust sdk (#4772)
  Docs: Delete sessions from UI and edit has changed (#4785)
  Don't load user's shell env on app startup (#4681)
  Docs: Chrome Dev Tools Extension Tutorial (#4783)
  Add Hacktoberfest 2025 Leaderboard Workflow (#4776)
  [docs] Add gotoHuman MCP server Tutorial (#4764)
  fix: adjust nightly builds to first push a tag (#4704)
  temp file for batch issue creation
  fix: view can recognise a dir (#4701)
  goosed standalone works with providers (#4698)
  Compact session automatically for streaming providers on Context Length Exceeded (#4565)
  When the developer extension gets a cancellation message, it should kill any running processes that it owns. (#4604)
  Remove some unused stuff (#4388)
  Add I Ching MCP to extension catalog (#4525)
  Offer to summarize or clear conversation when it has gotten too long … (#4688)
alexhancock added a commit that referenced this pull request Sep 29, 2025
HikaruEgashira pushed a commit to HikaruEgashira/goose that referenced this pull request Oct 3, 2025
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.

3 participants