feat: Add release drafter common github action. #25
ci.yml
on: pull_request
common
/
buildifier
6s
common
/
restyled
8s
checks
/
check-release
4s
release
/
update_release_draft
5s
Annotations
2 errors and 1 warning
release / update_release_draft
Resource not accessible by integration
{
name: 'HttpError',
id: '11709438308',
status: 403,
response: {
url: 'https://api.github.com/repos/TokTok/ci-tools/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: 'Wed, 06 Nov 2024 18:13:11 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': 'E050:1A8681:1A150A:3316D5:672BB1B7',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4946',
'x-ratelimit-reset': '1730919858',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '54',
'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/TokTok/ci-tools/releases',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.13.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"target_commitish":"refs/pull/76/merge","name":"v0.8.1","tag_name":"v0.8.1","body":"## Release Notes\\n\\n- Don\'t try to restyle submodules. @iphydf (#75)\\n- Add restyled workflow in common CI actions. @iphydf (#74)\\n- Update github actions. @iphydf (#73)\\n- Migrate from haskell/actions/setup to haskell-actions/setup. @iphydf (#72)\\n- Remove settings.yml in favour of hs-github-tools. @iphydf (#71)\\n- Use GPL license with https. @iphydf (#70)\\n- Update setup-haskell action to latest version. @iphydf (#69)\\n- Fix version tag for buildifier. @iphydf (#68)\\n- Update GH action uses to their latest versions. @iphydf (#67)\\n- Add stack-haddock-upload script to upload docs to hackage. @iphydf (#20)\\n- Add CODEOWNERS and settings.yml files. @iphydf (#22)\\n- Use actual json parser instead of grep to get release tag name. @iphydf (#19)\\n\\n## Features\\n\\n- Add common CI checks to be shared by all repos. @iphydf (#62)\\n- Support reading from stdin in stylish-haskell-lhs. @iphydf (#50)\\n- Add support for dpkg-divert\'ed stylish-haskell. @iphydf (#49)\\n- Add Haskell workflows that can be called from other repos. @iphydf (#35)\\n- Add `hackage_upload` script used by Haskell GH actions. @iphydf (#28)\\n- Add `check_release` script, used by other repos. @iphydf (#27)\\n\\n## Bug Fixes\\n\\n- Fix bzl file parser. @iphydf (#65)\\n- Ignore empty response from github api. @iphydf (#64)\\n- Move workflows to workflows toplevel directory. @iphydf (#37)\\n- Move workflows to .github. @iphydf (#36)\\n- Disable release version check when there\'s no draft release. @iphydf (#34)\\n- Don\'t evaluate BUILD.bazel. @iphydf (#32)\\n- Fail the hackage_upload script on upload failure. @iphydf (#30)\\n- Fix hackage upload URL for package candidates. @iphydf (#29)\\n\\n## Maintenance (Grunt tasks)\\n\\n- Try to download buildifier 3 times before giving up. @iphydf (#66)\\n-
|
release / 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: '11709438308',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '77af6c0d6d4e5a56797b49442bd801fd05dc2906',
before: '1722d2a8dd1527ce5b96737031d23cf19b20a235',
number: 76,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/17427091?v=4',
description: '#toktok on Libera.Chat',
events_url: 'https://api.github.com/orgs/TokTok/events',
hooks_url: 'https://api.github.com/orgs/TokTok/hooks',
id: 17427091,
issues_url: 'https://api.github.com/orgs/TokTok/issues',
login: 'TokTok',
members_url: 'https://api.github.com/orgs/TokTok/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjE3NDI3MDkx',
public_members_url: 'https://api.github.com/orgs/TokTok/public_members{/member}',
repos_url: 'https://api.github.com/orgs/TokTok/repos',
url: 'https://api.github.com/orgs/TokTok'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/TokTok/ci-tools/issues/76/comments'
},
commits: {
href: 'https://api.github.com/repos/TokTok/ci-tools/pulls/76/commits'
},
html: { href: 'https://github.com/TokTok/ci-tools/pull/76' },
issue: {
href: 'https://api.github.com/repos/TokTok/ci-tools/issues/76'
},
review_comment: {
href: 'https://api.github.com/repos/TokTok/ci-tools/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/TokTok/ci-tools/pulls/76/comments'
},
self: {
href: 'https://api.github.com/repos/TokTok/ci-tools/pulls/76'
},
statuses: {
href: 'https://api.github.com/repos/TokTok/ci-tools/statuses/77af6c0d6d4e5a56797b49442bd801fd05dc2906'
}
},
active_lock_reason: null,
additions: 50,
assignee: null,
assignees: [],
author_association: 'MEMBER',
auto_merge: null,
base: {
label: 'TokTok:master',
ref: 'master',
repo: {
allow_auto_merge: false,
allow_forking: true,
allow_merge_commit: false,
allow_rebase_merge: false,
allow_squash_merge: true,
allow_update_branch: false,
archive_url: 'https://api.github.com/repos/TokTok/ci-tools/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/TokTok/ci-tools/assignees{/user}',
blobs_url: 'https://api.github.com/repos/TokTok/ci-tools/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/TokTok/ci-tools/branches{/branch}',
clone_url: 'https://github.com/TokTok/ci-tools.git',
collaborators_url: 'https://api.github.com/repos/TokTok/ci-tools/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/TokTok/ci-tools/comments{/number}',
commits_url: 'https://api.github.com/repos/TokTok/ci-tools/commits{/sha}',
compare_url: 'https://api.github.com/repos/TokTok/ci-tools/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/TokTok/ci-tools/contents/{+path}',
contributors_url: 'https://api.github.com/repos/TokTok/ci-tools/contributors',
created_at: '2018-07-20T16:40:10Z',
default_branch: 'master',
delete_branch_on_merge: true,
deployments_url: 'https://api.github.com/repos/TokTok/ci-tools/deployments',
description: 'Common tools for building
|
common / restyled
The checked out commit does not match the event PR's head. bb36579f0ecc2aab5b4109bf0db197b5f602f83c != 77af6c0d6d4e5a56797b49442bd801fd05dc2906. Weird things may happen.
|