String rework should fix most of the issues with string obfuscation #55
release-drafter.yml
on: pull_request
update_release_draft
5s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '11078667647',
status: 422,
response: {
url: 'https://api.github.com/repos/PoCInnovation/my-obfuscator/releases/154261681',
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': '210',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Fri, 27 Sep 2024 22:46:16 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-github-permissions': 'contents=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': '30DE:3286BE:129BCD4:238E17B:66F735B8',
'x-xss-protection': '0'
},
data: {
message: 'Validation Failed',
errors: [
{
resource: 'Release',
code: 'invalid',
field: 'target_commitish'
}
],
documentation_url: 'https://docs.github.com/rest/releases/releases#update-a-release',
status: '422'
}
},
request: {
method: 'PATCH',
url: 'https://api.github.com/repos/PoCInnovation/my-obfuscator/releases/154261681',
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: '{"body":"## Changes\\n\\n[Describe this new release here]\\n\\n- added real slightly better syntax checks and better error display @maitrecraft1234 (#24)\\n- add arguments handling with clap @maitrecraft1234 (#22)\\n- Fix error handling and dead branches @maitrecraft1234 (#20)\\n- Adding a bunch of obfuscation methods @maitrecraft1234 (#17)\\n\\n## 🧰 Maintenance\\n\\n- Bump cc from 1.1.13 to 1.1.15 @dependabot (#12)\\n- Bump cc from 1.1.6 to 1.1.13 @dependabot (#9)\\n- Bump cc from 1.1.5 to 1.1.6 @dependabot (#3)\\n- Bump release-drafter/release-drafter from 5 to 6 @dependabot (#1)\\n- Bump cc from 1.1.1 to 1.1.5 @dependabot (#2)\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v0.1.0 🌈","tag_name":"v0.1.0","target_commitish":"refs/pull/25/merge"}',
request: {}
},
event: {
id: '11078667647',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'a6bb81e8a774e7d4542f200aa9b75570f6f78853',
before: '86ab2af99b346cb30300609182bc1d5dac8b550b',
number: 25,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/36624831?v=4',
description: 'French Student Innovation center.',
events_url: 'https://api.github.com/orgs/PoCInnovation/events',
hooks_url: 'https://api.github.com/orgs/PoCInnovation/hooks',
id: 36624831,
issues_url: 'https://api.github.com/orgs/PoCInnovation/issues',
login: 'PoCInnovation',
members_url: 'https://api.github.com/orgs/PoCInnovation/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjM2NjI0ODMx',
public_members_url: 'https://api.github.com/orgs/PoCInnovation/public_members{/member}',
repos_url: 'https://api.github.com/orgs/PoCInnovation/repos',
url: 'https://api.github.com/orgs/PoCInnovation'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/re
|
update_release_draft
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
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: '11078667647',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'a6bb81e8a774e7d4542f200aa9b75570f6f78853',
before: '86ab2af99b346cb30300609182bc1d5dac8b550b',
number: 25,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/36624831?v=4',
description: 'French Student Innovation center.',
events_url: 'https://api.github.com/orgs/PoCInnovation/events',
hooks_url: 'https://api.github.com/orgs/PoCInnovation/hooks',
id: 36624831,
issues_url: 'https://api.github.com/orgs/PoCInnovation/issues',
login: 'PoCInnovation',
members_url: 'https://api.github.com/orgs/PoCInnovation/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjM2NjI0ODMx',
public_members_url: 'https://api.github.com/orgs/PoCInnovation/public_members{/member}',
repos_url: 'https://api.github.com/orgs/PoCInnovation/repos',
url: 'https://api.github.com/orgs/PoCInnovation'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/PoCInnovation/my-obfuscator/issues/25/comments'
},
commits: {
href: 'https://api.github.com/repos/PoCInnovation/my-obfuscator/pulls/25/commits'
},
html: {
href: 'https://github.com/PoCInnovation/my-obfuscator/pull/25'
},
issue: {
href: 'https://api.github.com/repos/PoCInnovation/my-obfuscator/issues/25'
},
review_comment: {
href: 'https://api.github.com/repos/PoCInnovation/my-obfuscator/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/PoCInnovation/my-obfuscator/pulls/25/comments'
},
self: {
href: 'https://api.github.com/repos/PoCInnovation/my-obfuscator/pulls/25'
},
statuses: {
href: 'https://api.github.com/repos/PoCInnovation/my-obfuscator/statuses/a6bb81e8a774e7d4542f200aa9b75570f6f78853'
}
},
active_lock_reason: null,
additions: 41,
assignee: null,
assignees: [],
author_association: 'COLLABORATOR',
auto_merge: null,
base: {
label: 'PoCInnovation:main',
ref: 'main',
repo: {
allow_auto_merge: true,
allow_forking: true,
allow_merge_commit: true,
allow_rebase_merge: false,
allow_squash_merge: false,
allow_update_branch: true,
archive_url: 'https://api.github.com/repos/PoCInnovation/my-obfuscator/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/PoCInnovation/my-obfuscator/assignees{/user}',
blobs_url: 'https://api.github.com/repos/PoCInnovation/my-obfuscator/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/PoCInnovation/my-obfuscator/branches{/branch}',
clone_url: 'https://github.com/PoCInnovation/my-obfuscator.git',
collaborators_url: 'https://api.github.com/repos/PoCInnovation/my-obfuscator/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/PoCInnovation/my-obfuscator/comments{/number}',
commits_url: 'https://api.github.com/repos/PoCInnovation/my-obfuscator/commits{/sha}',
compare_url: 'https://api.github.com/repos/PoCInnovation/my-obfuscator/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/PoCInnovation/my-obfuscator/contents/{+path}',
|