Skip to content

fix(resource/pipeline): fix permit_restart_from_failed_steps = false #275

fix(resource/pipeline): fix permit_restart_from_failed_steps = false

fix(resource/pipeline): fix permit_restart_from_failed_steps = false #275

Triggered via pull request April 8, 2025 15:55
Status Success
Total duration 19s
Artifacts

draft-release.yaml

on: pull_request
update_release_draft
5s
update_release_draft
Fit to window
Zoom out
Zoom in

Annotations

2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} { name: 'HttpError', id: '14338090443', status: 422, response: { url: 'https://api.github.com/repos/codefresh-io/terraform-provider-codefresh/releases', status: 422, headers: { 'access-control-allow-origin': '*', 'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset', connection: 'close', 'content-length': '210', 'content-security-policy': "default-src 'none'", 'content-type': 'application/json; charset=utf-8', date: 'Tue, 08 Apr 2025 15:55:34 GMT', 'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin', server: 'github.com', 'strict-transport-security': 'max-age=31536000; includeSubdomains; preload', vary: 'Accept-Encoding, Accept, X-Requested-With', 'x-accepted-github-permissions': 'contents=write; contents=write,workflows=write', 'x-content-type-options': 'nosniff', 'x-frame-options': 'deny', 'x-github-api-version-selected': '2022-11-28', 'x-github-media-type': 'github.v3; format=json', 'x-github-request-id': '9486:246CB7:7DE6BE:810531:67F546F5', 'x-ratelimit-limit': '15000', 'x-ratelimit-remaining': '14992', 'x-ratelimit-reset': '1744131327', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '8', 'x-xss-protection': '0' }, data: { message: 'Validation Failed', errors: [ { resource: 'Release', code: 'invalid', field: 'target_commitish' } ], documentation_url: 'https://docs.github.com/rest/releases/releases#create-a-release', status: '422' } }, request: { method: 'POST', url: 'https://api.github.com/repos/codefresh-io/terraform-provider-codefresh/releases', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.19.0 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"target_commitish":"refs/pull/160/merge","name":"v0.12.1","tag_name":"v0.12.1","body":"## Changes\\n* No changes\\n","draft":true,"prerelease":false,"make_latest":"true"}', request: {} }, event: { id: '14338090443', name: 'pull_request', payload: { action: 'synchronize', after: '4f10ee5522ba7de95e8b13028a8c3a078a04f137', before: '9ff56b209e4c1f6af81850b5bbbe7f41ed8e5874', enterprise: { avatar_url: 'https://avatars.githubusercontent.com/b/18608?v=4', created_at: '2022-12-16T17:38:23Z', description: '', html_url: 'https://github.com/enterprises/octopusdeployMSEA', id: 18608, name: 'Octopus Deploy', node_id: 'E_kgDNSLA', slug: 'octopusdeployMSEA', updated_at: '2024-07-24T20:09:19Z', website_url: 'https://octopus.com' }, number: 160, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/11412079?v=4', description: 'Codefresh is a next-generation enterprise software delivery platform for cloud-native applications.', events_url: 'https://api.github.com/orgs/codefresh-io/events', hooks_url: 'https://api.github.com/orgs/codefresh-io/hooks', id: 11412079, issues_url: 'https://api.github.com/orgs/codefresh-io/issues', login: 'codefresh-io', members_url: 'https://api.github.com/orgs/codefresh-io/members{/member}', node_id: 'MDEyOk9yZ2FuaXphdGlvbjExNDEyMDc5', public_members_url: 'https://api.github.com/orgs/codefresh-io/public_members{/member}', repos_url: 'https://api.github.com/orgs/codefresh-io/repos', url: 'https://api.github.com/orgs/codefre
update_release_draft
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} at /home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:8462:21 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:30793:18) { name: 'AggregateError', event: { id: '14338090443', name: 'pull_request', payload: { action: 'synchronize', after: '4f10ee5522ba7de95e8b13028a8c3a078a04f137', before: '9ff56b209e4c1f6af81850b5bbbe7f41ed8e5874', enterprise: { avatar_url: 'https://avatars.githubusercontent.com/b/18608?v=4', created_at: '2022-12-16T17:38:23Z', description: '', html_url: 'https://github.com/enterprises/octopusdeployMSEA', id: 18608, name: 'Octopus Deploy', node_id: 'E_kgDNSLA', slug: 'octopusdeployMSEA', updated_at: '2024-07-24T20:09:19Z', website_url: 'https://octopus.com' }, number: 160, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/11412079?v=4', description: 'Codefresh is a next-generation enterprise software delivery platform for cloud-native applications.', events_url: 'https://api.github.com/orgs/codefresh-io/events', hooks_url: 'https://api.github.com/orgs/codefresh-io/hooks', id: 11412079, issues_url: 'https://api.github.com/orgs/codefresh-io/issues', login: 'codefresh-io', members_url: 'https://api.github.com/orgs/codefresh-io/members{/member}', node_id: 'MDEyOk9yZ2FuaXphdGlvbjExNDEyMDc5', public_members_url: 'https://api.github.com/orgs/codefresh-io/public_members{/member}', repos_url: 'https://api.github.com/orgs/codefresh-io/repos', url: 'https://api.github.com/orgs/codefresh-io' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/codefresh-io/terraform-provider-codefresh/issues/160/comments' }, commits: { href: 'https://api.github.com/repos/codefresh-io/terraform-provider-codefresh/pulls/160/commits' }, html: { href: 'https://github.com/codefresh-io/terraform-provider-codefresh/pull/160' }, issue: { href: 'https://api.github.com/repos/codefresh-io/terraform-provider-codefresh/issues/160' }, review_comment: { href: 'https://api.github.com/repos/codefresh-io/terraform-provider-codefresh/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/codefresh-io/terraform-provider-codefresh/pulls/160/comments' }, self: { href: 'https://api.github.com/repos/codefresh-io/terraform-provider-codefresh/pulls/160' }, statuses: { href: 'https://api.github.com/repos/codefresh-io/terraform-provider-codefresh/statuses/4f10ee5522ba7de95e8b13028a8c3a078a04f137' } }, active_lock_reason: null, additions: 53, assignee: { avatar_url: 'https://avatars.githubusercontent.com/u/32432324?v=4', events_url: 'https://api.github.com/users/masontikhonov/events{/privacy}', followers_url: 'https://api.github.com/users/masontikhonov/followers', following_url: 'https://api.github.com/users/masontikhonov/following{/other_user}', gists_url: 'https://api.github.com/users/masontikhonov/gists{/gist_id}', gravatar_id: '', html_url: 'https://github.com/masontikhonov', id: 32432324, login: 'masontikhonov', node_id: 'MDQ6VXNlcjMyNDMyMzI0', organizations_url: 'https://api.github.com/users/masontikhonov/orgs', received_events_url: 'https://api.github.com/users/masontikhonov/received_events', repos_url: 'https://api.github.com/users/masontikhonov/repos',