Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tag_name is not a valid tag name #7

Open
laurentsenta opened this issue Jun 8, 2023 · 1 comment
Open

tag_name is not a valid tag name #7

laurentsenta opened this issue Jun 8, 2023 · 1 comment

Comments

@laurentsenta
Copy link
Member

laurentsenta commented Jun 8, 2023

https://github.com/ipfs/gateway-conformance/actions/runs/5213546803/jobs/9408677163

fails with "tag_name is not a valid tag name",
the release was created in draft.
Might be a user error?

2023-06-08T16:28:30.3984938Z Requested labels: ubuntu-latest
2023-06-08T16:28:30.3985112Z Job defined at: ipfs/gateway-conformance/.github/workflows/release.yml@refs/heads/main
2023-06-08T16:28:30.3985213Z Waiting for a runner to pick up this job...
2023-06-08T16:28:30.6275888Z Job is waiting for a hosted runner to come online.
2023-06-08T16:28:33.5936066Z Job is about to start running on the hosted runner: GitHub Actions 2 (hosted)
2023-06-08T16:28:36.6347491Z Current runner version: '2.304.0'
2023-06-08T16:28:36.6382733Z ##[group]Operating System
2023-06-08T16:28:36.6383399Z Ubuntu
2023-06-08T16:28:36.6383783Z 22.04.2
2023-06-08T16:28:36.6384107Z LTS
2023-06-08T16:28:36.6384401Z ##[endgroup]
2023-06-08T16:28:36.6384896Z ##[group]Runner Image
2023-06-08T16:28:36.6385325Z Image: ubuntu-22.04
2023-06-08T16:28:36.6385710Z Version: 20230604.1
2023-06-08T16:28:36.6386254Z Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20230604.1/images/linux/Ubuntu2204-Readme.md
2023-06-08T16:28:36.6387057Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20230604.1
2023-06-08T16:28:36.6387601Z ##[endgroup]
2023-06-08T16:28:36.6387955Z ##[group]Runner Image Provisioner
2023-06-08T16:28:36.6388470Z 2.0.177.2
2023-06-08T16:28:36.6388813Z ##[endgroup]
2023-06-08T16:28:36.6389965Z ##[group]GITHUB_TOKEN Permissions
2023-06-08T16:28:36.6390712Z Actions: write
2023-06-08T16:28:36.6391110Z Checks: write
2023-06-08T16:28:36.6391819Z Contents: write
2023-06-08T16:28:36.6392330Z Deployments: write
2023-06-08T16:28:36.6392660Z Discussions: write
2023-06-08T16:28:36.6393008Z Issues: write
2023-06-08T16:28:36.6393433Z Metadata: read
2023-06-08T16:28:36.6393811Z Packages: write
2023-06-08T16:28:36.6394125Z Pages: write
2023-06-08T16:28:36.6394502Z PullRequests: write
2023-06-08T16:28:36.6394971Z RepositoryProjects: write
2023-06-08T16:28:36.6395344Z SecurityEvents: write
2023-06-08T16:28:36.6395733Z Statuses: write
2023-06-08T16:28:36.6396109Z ##[endgroup]
2023-06-08T16:28:36.6400752Z Secret source: Actions
2023-06-08T16:28:36.6401587Z Prepare workflow directory
2023-06-08T16:28:36.7470730Z Prepare all required actions
2023-06-08T16:28:36.7770571Z Getting action download info
2023-06-08T16:28:37.1463424Z Download action repository 'pl-strflt/changelog-driven-release@v1' (SHA:692ef42d55175b754c023185f9e6607fa3edef2a)
2023-06-08T16:28:38.1625693Z Download action repository 'marocchino/sticky-pull-request-comment@3d60a5b2dae89d44e0c6ddc69dd7536aec2071cd' (SHA:3d60a5b2dae89d44e0c6ddc69dd7536aec2071cd)
2023-06-08T16:28:38.7454133Z Download action repository 'actions/upload-artifact@v3' (SHA:0b7f8abb1508181956e8e162db84b466c27e18ce)
2023-06-08T16:28:39.4076820Z Complete job name: Release
2023-06-08T16:28:39.5806995Z ##[group]Run pl-strflt/changelog-driven-release@v1
2023-06-08T16:28:39.5807395Z with:
2023-06-08T16:28:39.5807632Z   path: CHANGELOG.md
2023-06-08T16:28:39.5807869Z   draft: false
2023-06-08T16:28:39.5808763Z   token: ***
2023-06-08T16:28:39.5808982Z ##[endgroup]
2023-06-08T16:28:39.9636828Z Creating release...
2023-06-08T16:28:39.9637619Z Path: CHANGELOG.md
2023-06-08T16:28:39.9637859Z Draft: false
2023-06-08T16:28:39.9638111Z Token: ***
2023-06-08T16:28:39.9663274Z Getting changelog...
2023-06-08T16:28:39.9663577Z Owner: ipfs
2023-06-08T16:28:39.9665586Z Repo: gateway-conformance
2023-06-08T16:28:39.9666705Z Ref: 8d4300a9f26719a5749ecdd704e08aaaff9d2f52
2023-06-08T16:28:40.2341371Z Parsing changelog...
2023-06-08T16:28:40.2341697Z Version: 0.1.0
2023-06-08T16:28:40.2342183Z Body: ### Added
2023-06-08T16:28:40.2342875Z - `Fmt` a string interpolation that replaces golang's and works better with HTML entities, and HTTP headers and URLs.
2023-06-08T16:28:40.2343601Z - Support for calling multiple requests in a single test case and comparing their payloads.
2023-06-08T16:28:40.2343858Z 
2023-06-08T16:28:40.2343952Z ### Changed
2023-06-08T16:28:40.2344460Z - `Path(url)` does not add a leading `/` to the URL anymore.
2023-06-08T16:28:40.2345026Z - Do not follow redirects by default anymore, remove `DoNotFollowRedirect` and add `FollowRedirect`.
2023-06-08T16:28:40.2345508Z - `Body` check is running in its own test. #67
2023-06-08T16:28:40.2345701Z 
2023-06-08T16:28:40.2345809Z Tag: v0.1.0
2023-06-08T16:28:40.2346069Z Listing releases...
2023-06-08T16:28:40.4875565Z Updating release...
2023-06-08T16:28:40.7392857Z ##[error]Validation Failed: {"resource":"Release","code":"custom","field":"tag_name","message":"tag_name is not a valid tag"}, {"resource":"Release","code":"custom","message":"Published releases must have a valid tag"}
2023-06-08T16:28:40.7941882Z Cleaning up orphan processes

I can't edit the release in github:
CleanShot 2023-06-08 at 18 41 30@2x

@laurentsenta
Copy link
Member Author

On merge the release, I removed the branch, the release was pointing to a removed branch, it broke the workflow,
restoring the branch fixed the issue.

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

No branches or pull requests

1 participant