use pathlib for paths #718
drafter.yml
on: pull_request
update_release_draft
6s
Annotations
2 errors
update_release_draft
Resource not accessible by integration
{
name: 'HttpError',
id: '8832328125',
status: 403,
response: {
url: 'https://api.github.com/repos/cookiecutter/cookiecutter/releases',
status: 403,
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-encoding': 'gzip',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Thu, 25 Apr 2024 12:15:03 GMT',
'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
server: 'GitHub.com',
'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
'transfer-encoding': 'chunked',
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': '18DE:C1F67:33BAD2:58CBAA:662A4946',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4995',
'x-ratelimit-reset': '1714050900',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '5',
'x-xss-protection': '0'
},
data: {
message: 'Resource not accessible by integration',
documentation_url: 'https://docs.github.com/rest/releases/releases#create-a-release'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/cookiecutter/cookiecutter/releases',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.8.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: `{"target_commitish":"main","name":"2.7.0","tag_name":"2.7.0","body":"## Changes\\n\\n* Use pytest 6.0+ compatible [tool.pytest.ini_options] instead of [tool.pytest] on pyproject.toml (#2044) @luzfcb\\n\\n### Minor Changes\\n\\n* Add optional indent parameter to jsonify extension (#2050) @pabloxio\\n\\n### CI/CD and QA changes\\n\\n* Add 'pyflakes' lints (#2014) @danieleades\\n* Add 'pygrep' lints (#2016) @danieleades\\n* Add type hints for cookiecutter.cli and check it with mypy (#2051) @danieleades\\n* Bump codecov/codecov-action from 3 to 4 (#2007) @dependabot\\n* Bump release-drafter/release-drafter from 5 to 6 (#2026) @dependabot\\n* Use 'Ruff' for linting and formatting (#2012) @danieleades\\n* [pre-commit.ci] pre-commit autoupdate (#2062) @pre-commit-ci\\n* [pre-commit.ci] pre-commit autoupdate (#2046) @pre-commit-ci\\n* [pre-commit.ci] pre-commit autoupdate (#2043) @pre-commit-ci\\n* add 'perf' lint group (#2019) @danieleades\\n* add minimal mypy linting (#2015) @danieleades\\n* don't test old interpreters on macOS and windows (#2063) @danieleades\\n* enable lint groups for string formatting (#2020) @danieleades\\n* move configuration from setup.cfg to pyproject.toml (#2040) @jensens\\n* remove some unused args (#2049) @danieleades\\n* shrink mypy whitelist for cookiecutter.generate (#2041) @danieleades\\n* shrink mypy whitelist for cookiecutter.hooks (#2042) @danieleades\\n* shrink mypy whitelist for cookiecutter.utils (#2053) @danieleades\\n* shrink mypy whitelist for other modules (#2054) @danieleades\\n\\n### Documentation updates\\n\\n* README: Update outdated shield branch names (#2036) @jkomalley\\n\\n### Bugfixes\\n\\n* Convert CLI provided strings to booleans for boolean config variables (#2029) @tylermilner\\n* [1518] Directory Name Render and Create Fix (#1991) @DanielZhangD\\n\\n### This release is made by wonderful contributors:\\n\\n@DanielZ
|
update_release_draft
HttpError: Resource not accessible by integration
at /home/runner/work/_actions/release-drafter/release-drafter/v6/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/v6/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '8832328125',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '050af171f5806e6c025e8b3f466a6b11e5ea1fdf',
before: '1bbfbb20a593effd79b54c54b91a1870fbf74d46',
number: 2057,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/12502901?v=4',
description: '',
events_url: 'https://api.github.com/orgs/cookiecutter/events',
hooks_url: 'https://api.github.com/orgs/cookiecutter/hooks',
id: 12502901,
issues_url: 'https://api.github.com/orgs/cookiecutter/issues',
login: 'cookiecutter',
members_url: 'https://api.github.com/orgs/cookiecutter/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjEyNTAyOTAx',
public_members_url: 'https://api.github.com/orgs/cookiecutter/public_members{/member}',
repos_url: 'https://api.github.com/orgs/cookiecutter/repos',
url: 'https://api.github.com/orgs/cookiecutter'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/cookiecutter/cookiecutter/issues/2057/comments'
},
commits: {
href: 'https://api.github.com/repos/cookiecutter/cookiecutter/pulls/2057/commits'
},
html: {
href: 'https://github.com/cookiecutter/cookiecutter/pull/2057'
},
issue: {
href: 'https://api.github.com/repos/cookiecutter/cookiecutter/issues/2057'
},
review_comment: {
href: 'https://api.github.com/repos/cookiecutter/cookiecutter/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/cookiecutter/cookiecutter/pulls/2057/comments'
},
self: {
href: 'https://api.github.com/repos/cookiecutter/cookiecutter/pulls/2057'
},
statuses: {
href: 'https://api.github.com/repos/cookiecutter/cookiecutter/statuses/050af171f5806e6c025e8b3f466a6b11e5ea1fdf'
}
},
active_lock_reason: null,
additions: 103,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: null,
base: {
label: 'cookiecutter:main',
ref: 'main',
repo: {
allow_auto_merge: false,
allow_forking: true,
allow_merge_commit: false,
allow_rebase_merge: false,
allow_squash_merge: true,
allow_update_branch: true,
archive_url: 'https://api.github.com/repos/cookiecutter/cookiecutter/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/cookiecutter/cookiecutter/assignees{/user}',
blobs_url: 'https://api.github.com/repos/cookiecutter/cookiecutter/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/cookiecutter/cookiecutter/branches{/branch}',
clone_url: 'https://github.com/cookiecutter/cookiecutter.git',
collaborators_url: 'https://api.github.com/repos/cookiecutter/cookiecutter/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/cookiecutter/cookiecutter/comments{/number}',
commits_url: 'https://api.github.com/repos/cookiecutter/cookiecutter/commits{/sha}',
compare_url: 'https://api.github.com/repos/cookiecutter/cookiecutter/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/cookiecutter/cookiecutter/contents/{+path}',
contributors_url: 'https://api.github.com/repos/cookiecutter/cookiecutter/contributors',
|