feat: add connection validation and tests #4
release-drafter.yml
on: pull_request
Update release draft
6s
Annotations
2 errors and 1 warning
Update release draft
Resource not accessible by integration
{
name: 'HttpError',
id: '12446229345',
status: 403,
response: {
url: 'https://api.github.com/repos/bramstroker/homeassistant-state-webhook/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: 'Sat, 21 Dec 2024 15:06:39 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': '7BC6:146BFF:113941F9:2242FF8E:6766D97F',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4953',
'x-ratelimit-reset': '1734796949',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '47',
'x-xss-protection': '0'
},
data: {
message: 'Resource not accessible by integration',
documentation_url: 'https://docs.github.com/rest/releases/releases#create-a-release',
status: '403'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/bramstroker/homeassistant-state-webhook/releases',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.18.0 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"target_commitish":"refs/pull/8/merge","name":"v0.0.2 🌈","tag_name":"v0.0.2","body":"## Changes\\n\\n- #5 feat: add options flow @bramstroker\\n- #6 feat: add workflows @bramstroker\\n\\n## 🚀 Features\\n\\n- #7 feat: more extensive tests and cleanup code @bramstroker\\n\\n## ⭐️ Thank you so much for helping out to keep this integration awesome\\nNo contributors\\n","draft":true,"prerelease":false,"make_latest":"true"}',
request: {}
},
event: {
id: '12446229345',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'ab4c55e89789f0c4cd67a3d7f1a1b34dac1b4986',
before: 'cf06959f9290145454310cd0e9fb534c1ed9380e',
number: 8,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/bramstroker/homeassistant-state-webhook/issues/8/comments'
},
commits: {
href: 'https://api.github.com/repos/bramstroker/homeassistant-state-webhook/pulls/8/commits'
},
html: {
href: 'https://github.com/bramstroker/homeassistant-state-webhook/pull/8'
},
issue: {
href: 'https://api.github.com/repos/bramstroker/homeassistant-state-webhook/issues/8'
},
review_comment: {
href: 'https://api.github.com/repos/bramstroker/homeassistant-state-webhook/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/bramstroker/homeassistant-state-webhook/pulls/8/comments'
},
self: {
href: 'https://api.github.com/repos/bramstroker/homeassistant-state-webhook/pulls/8'
},
statuses: {
href: 'https://api.github.com/repos/bramstroker/homeassistant-state-webhook/statuses/ab4c55e89789f0c4cd67a3d7f1a1b34dac1b
|
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: '12446229345',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'ab4c55e89789f0c4cd67a3d7f1a1b34dac1b4986',
before: 'cf06959f9290145454310cd0e9fb534c1ed9380e',
number: 8,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/bramstroker/homeassistant-state-webhook/issues/8/comments'
},
commits: {
href: 'https://api.github.com/repos/bramstroker/homeassistant-state-webhook/pulls/8/commits'
},
html: {
href: 'https://github.com/bramstroker/homeassistant-state-webhook/pull/8'
},
issue: {
href: 'https://api.github.com/repos/bramstroker/homeassistant-state-webhook/issues/8'
},
review_comment: {
href: 'https://api.github.com/repos/bramstroker/homeassistant-state-webhook/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/bramstroker/homeassistant-state-webhook/pulls/8/comments'
},
self: {
href: 'https://api.github.com/repos/bramstroker/homeassistant-state-webhook/pulls/8'
},
statuses: {
href: 'https://api.github.com/repos/bramstroker/homeassistant-state-webhook/statuses/ab4c55e89789f0c4cd67a3d7f1a1b34dac1b4986'
}
},
active_lock_reason: null,
additions: 187,
assignee: null,
assignees: [],
author_association: 'OWNER',
auto_merge: null,
base: {
label: 'bramstroker:main',
ref: 'main',
repo: {
allow_auto_merge: false,
allow_forking: true,
allow_merge_commit: true,
allow_rebase_merge: true,
allow_squash_merge: true,
allow_update_branch: false,
archive_url: 'https://api.github.com/repos/bramstroker/homeassistant-state-webhook/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/bramstroker/homeassistant-state-webhook/assignees{/user}',
blobs_url: 'https://api.github.com/repos/bramstroker/homeassistant-state-webhook/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/bramstroker/homeassistant-state-webhook/branches{/branch}',
clone_url: 'https://github.com/bramstroker/homeassistant-state-webhook.git',
collaborators_url: 'https://api.github.com/repos/bramstroker/homeassistant-state-webhook/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/bramstroker/homeassistant-state-webhook/comments{/number}',
commits_url: 'https://api.github.com/repos/bramstroker/homeassistant-state-webhook/commits{/sha}',
compare_url: 'https://api.github.com/repos/bramstroker/homeassistant-state-webhook/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/bramstroker/homeassistant-state-webhook/contents/{+path}',
contributors_url: 'https://api.github.com/repos/bramstroker/homeassistant-state-webhook/contributors',
created_at: '2024-12-18T13:01:14Z',
default_branch: 'main',
delete_branch_on_merge: false,
deployments_url: 'https://api.github.com/repos/bramstroker/homeassistant-state-webhook/deployments',
description: null,
disabled: false,
downloads_url: 'https://api.github.com/repos/bramstroker/homeassistant-state-webhook/downloads',
events_url: 'https://api.github.com/repos/bramstroker/homeassistant-state-webhook/events',
|
Update release draft
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|