Skip to content

feat: implement auto approval with pre-receive hooks #100

feat: implement auto approval with pre-receive hooks

feat: implement auto approval with pre-receive hooks #100

Triggered via pull request March 25, 2025 16:46
@fabiovincenzifabiovincenzi
synchronize #33
Status Success
Total duration 2m 40s
Artifacts

pr-lint.yml

on: pull_request_target
Validate & Label PR
2m 29s
Validate & Label PR
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 4 warnings
Validate & Label PR
Resource not accessible by integration { name: 'HttpError', id: '14065375143', status: 403, response: { url: 'https://api.github.com/repos/G-Research/git-proxy/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', 'content-encoding': 'gzip', 'content-security-policy': "default-src 'none'", 'content-type': 'application/json; charset=utf-8', date: 'Tue, 25 Mar 2025 16:48:34 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': '5880:2E5303:1A0434:33F156:67E2DE62', 'x-ratelimit-limit': '15000', 'x-ratelimit-remaining': '14977', 'x-ratelimit-reset': '1742924488', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '23', '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/G-Research/git-proxy/releases', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.4.0 octokit-core.js/3.6.0 Node.js/20.19.0 (linux; x64)', 'x-github-delivery': '14065375143', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: `{"target_commitish":"refs/heads/main","name":"Version 0.1.0","tag_name":"v0.1.0","body":"### What's Changed\\n\\n- Add support for executing pre-receive hooks @fabiovincenzi (#11)\\n\\n---\\n\\n*Full Changelog**: https://github.com/finos/git-proxy/compare/...v0.1.0\\n","draft":true,"prerelease":false,"make_latest":"true"}`, request: {} }, event: { id: '14065375143', name: 'pull_request_target', payload: { action: 'synchronize', after: '22df4cc904ec8fec2b774e9e1fbf732aebe6de5f', before: '407e6e209683e462079119de966c122ce4c3ffae', enterprise: { avatar_url: 'https://avatars.githubusercontent.com/b/717?v=4', created_at: '2019-08-29T11:42:21Z', description: '', html_url: 'https://github.com/enterprises/trenchant-ltd', id: 717, name: 'TESL', node_id: 'MDEwOkVudGVycHJpc2U3MTc=', slug: 'trenchant-ltd', updated_at: '2024-08-09T18:28:54Z', website_url: '' }, number: 33, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/21341965?v=4', description: 'CREATE TODAY. PREDICT TOMORROW.', events_url: 'https://api.github.com/orgs/G-Research/events', hooks_url: 'https://api.github.com/orgs/G-Research/hooks', id: 21341965, issues_url: 'https://api.github.com/orgs/G-Research/issues', login: 'G-Research', members_url: 'https://api.github.com/orgs/G-Research/members{/member}', node_id: 'MDEyOk9yZ2FuaXphdGlvbjIxMzQxOTY1', public_members_url: 'https://api.github.com/orgs/G-Research/public_members{/member}', repos_url: 'https://api.github.com/orgs/G-Research/repos', url: 'https://api.github.com/orgs/G-Research' }, pull_request: { _links: { comments: { href: 'https
Validate & Label PR
HttpError: Resource not accessible by integration at /home/runner/work/_actions/release-drafter/release-drafter/b1476f6e6eb133afa41ed8589daba6dc69b4d3f5/dist/index.js:7146:21 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/b1476f6e6eb133afa41ed8589daba6dc69b4d3f5/dist/index.js:61885:18) { name: 'AggregateError', event: { id: '14065375143', name: 'pull_request_target', payload: { action: 'synchronize', after: '22df4cc904ec8fec2b774e9e1fbf732aebe6de5f', before: '407e6e209683e462079119de966c122ce4c3ffae', enterprise: { avatar_url: 'https://avatars.githubusercontent.com/b/717?v=4', created_at: '2019-08-29T11:42:21Z', description: '', html_url: 'https://github.com/enterprises/trenchant-ltd', id: 717, name: 'TESL', node_id: 'MDEwOkVudGVycHJpc2U3MTc=', slug: 'trenchant-ltd', updated_at: '2024-08-09T18:28:54Z', website_url: '' }, number: 33, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/21341965?v=4', description: 'CREATE TODAY. PREDICT TOMORROW.', events_url: 'https://api.github.com/orgs/G-Research/events', hooks_url: 'https://api.github.com/orgs/G-Research/hooks', id: 21341965, issues_url: 'https://api.github.com/orgs/G-Research/issues', login: 'G-Research', members_url: 'https://api.github.com/orgs/G-Research/members{/member}', node_id: 'MDEyOk9yZ2FuaXphdGlvbjIxMzQxOTY1', public_members_url: 'https://api.github.com/orgs/G-Research/public_members{/member}', repos_url: 'https://api.github.com/orgs/G-Research/repos', url: 'https://api.github.com/orgs/G-Research' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/G-Research/git-proxy/issues/33/comments' }, commits: { href: 'https://api.github.com/repos/G-Research/git-proxy/pulls/33/commits' }, html: { href: 'https://github.com/G-Research/git-proxy/pull/33' }, issue: { href: 'https://api.github.com/repos/G-Research/git-proxy/issues/33' }, review_comment: { href: 'https://api.github.com/repos/G-Research/git-proxy/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/G-Research/git-proxy/pulls/33/comments' }, self: { href: 'https://api.github.com/repos/G-Research/git-proxy/pulls/33' }, statuses: { href: 'https://api.github.com/repos/G-Research/git-proxy/statuses/22df4cc904ec8fec2b774e9e1fbf732aebe6de5f' } }, active_lock_reason: null, additions: 336, assignee: { avatar_url: 'https://avatars.githubusercontent.com/u/93596376?v=4', events_url: 'https://api.github.com/users/fabiovincenzi/events{/privacy}', followers_url: 'https://api.github.com/users/fabiovincenzi/followers', following_url: 'https://api.github.com/users/fabiovincenzi/following{/other_user}', gists_url: 'https://api.github.com/users/fabiovincenzi/gists{/gist_id}', gravatar_id: '', html_url: 'https://github.com/fabiovincenzi', id: 93596376, login: 'fabiovincenzi', node_id: 'U_kgDOBZQq2A', organizations_url: 'https://api.github.com/users/fabiovincenzi/orgs', received_events_url: 'https://api.github.com/users/fabiovincenzi/received_events', repos_url: 'https://api.github.com/users/fabiovincenzi/repos', site_admin: false, starred_url: 'https://api.github.com/users/fabiovincenzi/starred{/owner}{/repo}', subscriptions_url: 'https://api.github.com/users/fabiovincenzi/subscriptions', type: 'User', url: 'https://api.github.com/users/
Validate & Label PR
"pull_request_target.opened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
Validate & Label PR
"pull_request_target.reopened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
Validate & Label PR
"pull_request_target.synchronize" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
Validate & Label PR
"pull_request_target.edited" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)