Skip to content

Fix detection of github organization for README templates (#374) #94

Fix detection of github organization for README templates (#374)

Fix detection of github organization for README templates (#374) #94

Triggered via push February 1, 2024 20:07
Status Success
Total duration 15s
Artifacts

auto-release.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 7 warnings
semver
Validation Failed: {"resource":"Release","code":"already_exists","field":"tag_name"} { name: 'HttpError', id: '7747018694', status: 422, response: { url: 'https://api.github.com/repos/cloudposse/build-harness/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': '194', 'content-security-policy': "default-src 'none'", 'content-type': 'application/json; charset=utf-8', date: 'Thu, 01 Feb 2024 20:07:41 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-oauth-scopes': 'repo', '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': '9C17:0C56:4FA33B:A23423:65BBFA0D', 'x-oauth-scopes': 'public_repo, read:org, repo:status, repo_deployment', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4953', 'x-ratelimit-reset': '1706819755', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '47', 'x-xss-protection': '0' }, data: { message: 'Validation Failed', errors: [ { resource: 'Release', code: 'already_exists', field: 'tag_name' } ], documentation_url: 'https://docs.github.com/rest/releases/releases#create-a-release' } }, request: { method: 'POST', url: 'https://api.github.com/repos/cloudposse/build-harness/releases', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/16.20.2 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"target_commitish":"refs/heads/master","name":"v1.32.0","tag_name":"1.32.0","body":"<details>\\n <summary>Fix detection of github organization for README templates @osterman (#374)</summary>\\n\\n ## what\\r\\n* Use the `github_repo` parameter in the `README.yaml` to determine the organization\\r\\n* Make git checkout safe for linters to use\\r\\n* Update uses of `actions/checkout` to v4\\r\\n\\r\\n## why\\r\\n* #368 introduce the ability to have readme\'s sourced from various organizations\\r\\n* It did not take into account that the `git remotes` for forks will give the organization of the fork\\r\\n* It\'s better to use the `README.yaml` to determine the org, but this was not considered in the original implementation\\r\\n \\r\\n## references\\r\\n- #368\\r\\n- #371 \\n</details>\\n\\n<details>\\n <summary>Use Organization\'s .github `README.md.gotmpl` @osterman (#368)</summary>\\n\\n ## what\\r\\n- Update `readme/build` to depend on template\\r\\n- Fetch template if none exists\\r\\n\\r\\n## why\\r\\n- cloudposse/.github#28\\r\\n- actions/checkout#1169\\r\\n- actions/runner#2033\\n</details>\\n","draft":false,"prerelease":false,"make_latest":"true"}', request: {} }, event: { id: '7747018694', name: 'push', payload: { after: '784518d2d424fd8858ac676eb21a9a6b15989cd3', base_ref: null, before: '56cac58ddd0d57b93e395c02cc8fb75b6d92b5c4', commits: [ { author: { email: 'erik@cloudposse.com', name: 'Erik Osterman (CEO @ Cloud Posse)', username: 'osterman' }, committer: { email: 'noreply@github.com', name: 'GitHub', username: 'web-flow' }, d
semver
HttpError: Validation Failed: {"resource":"Release","code":"already_exists","field":"tag_name"} at /home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:8462:21 at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:30793:18) { name: 'AggregateError', event: { id: '7747018694', name: 'push', payload: { after: '784518d2d424fd8858ac676eb21a9a6b15989cd3', base_ref: null, before: '56cac58ddd0d57b93e395c02cc8fb75b6d92b5c4', commits: [ { author: { email: 'erik@cloudposse.com', name: 'Erik Osterman (CEO @ Cloud Posse)', username: 'osterman' }, committer: { email: 'noreply@github.com', name: 'GitHub', username: 'web-flow' }, distinct: true, id: '784518d2d424fd8858ac676eb21a9a6b15989cd3', message: 'Fix detection of github organization for README templates (#374)', timestamp: '2024-02-01T12:07:26-08:00', tree_id: '937accaada0fe8fe3b3909ad98080cf2041a4b34', url: 'https://github.com/cloudposse/build-harness/commit/784518d2d424fd8858ac676eb21a9a6b15989cd3' } ], compare: 'https://github.com/cloudposse/build-harness/compare/56cac58ddd0d...784518d2d424', created: false, deleted: false, enterprise: { avatar_url: 'https://avatars.githubusercontent.com/b/105117?v=4', created_at: '2023-12-15T19:41:31Z', description: '', html_url: 'https://github.com/enterprises/cloudposse', id: 105117, name: 'Cloud Posse', node_id: 'E_kgDOAAGanQ', slug: 'cloudposse', updated_at: '2024-01-30T15:40:56Z', website_url: 'https://cloudposse.com/' }, forced: false, head_commit: { author: { email: 'erik@cloudposse.com', name: 'Erik Osterman (CEO @ Cloud Posse)', username: 'osterman' }, committer: { email: 'noreply@github.com', name: 'GitHub', username: 'web-flow' }, distinct: true, id: '784518d2d424fd8858ac676eb21a9a6b15989cd3', message: 'Fix detection of github organization for README templates (#374)', timestamp: '2024-02-01T12:07:26-08:00', tree_id: '937accaada0fe8fe3b3909ad98080cf2041a4b34', url: 'https://github.com/cloudposse/build-harness/commit/784518d2d424fd8858ac676eb21a9a6b15989cd3' }, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/16398900?v=4', description: 'DevOps Accelerator for Startups 🙌 Hire Us! <https://cloudposse.com/services>', events_url: 'https://api.github.com/orgs/cloudposse/events', hooks_url: 'https://api.github.com/orgs/cloudposse/hooks', id: 16398900, issues_url: 'https://api.github.com/orgs/cloudposse/issues', login: 'cloudposse', members_url: 'https://api.github.com/orgs/cloudposse/members{/member}', node_id: 'MDEyOk9yZ2FuaXphdGlvbjE2Mzk4OTAw', public_members_url: 'https://api.github.com/orgs/cloudposse/public_members{/member}', repos_url: 'https://api.github.com/orgs/cloudposse/repos', url: 'https://api.github.com/orgs/cloudposse' }, pusher: { email: 'Nuru@users.noreply.github.com', name: 'Nuru' }, ref: 'refs/heads/master', repository: { allow_forking: true, archive_url: 'https://api.github.com/repos/cloudposse/build-harness/{archive_format}{/ref}', archived: false, assignees_url: 'https://api.github.com/repos/cloudposse/build-harness/assignees{/user}', blobs_url: 'https://api.github.com/repos/cloudposse/build-harness/git/blobs{/sha}', branches_url: 'https://api.github.com/repos/cloudposse/build-harness/branches{/branch}', clone_url: 'https://github.com/cloudposse/build-harness.gi
semver
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-ecosystem/action-get-merged-pull-request@v1, release-drafter/release-drafter@v5. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
semver
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-ecosystem/action-get-merged-pull-request@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
semver
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
semver
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
semver
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
semver
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
semver
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/