Fix shoulder guns typologies measures rules #1045
Annotations
2 errors and 2 warnings
Tag PR
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '8970867742',
status: 422,
response: {
url: 'https://api.github.com/repos/datalab-mi/Basegun/releases',
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': '195',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Mon, 06 May 2024 14:33:15 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; 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': 'A401:21F144:12CE2D9:20BAF81:6638EA2A',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4990',
'x-ratelimit-reset': '1715007545',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '10',
'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#create-a-release'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/datalab-mi/Basegun/releases',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/16.20.2 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"target_commitish":"refs/pull/438/merge","name":"PR refs/pull/438/merge","tag_name":"","body":"## Changes\\n\\n- Update instructions page @thomashbrnrd (#437)\\n- Fix steps when doing going back on alam gun path @thomashbrnrd (#436)\\n- Fix alarm guns user journey trigger @thomashbrnrd (#428)\\n- Update accessibility page @thomashbrnrd (#435)\\n- Add accessibility page with link and compliant mention @thomashbrnrd (#425)\\n- Improve categories with measures @thomashbrnrd (#416)\\n- feat: :sparkles: update instructions and example photo for upload @nutfdt (#394)\\n- Remove unwanted yolo model loading @thomashbrnrd (#399)\\n- Implement measure ml model @thomashbrnrd (#395)\\n- Reorganize backend files to make it futurproof @thomashbrnrd (#393)\\n- Add email autocompletion for expert contact @thomashbrnrd (#392)\\n- Use file and stdout log outputs @thomashbrnrd (#384)\\n- Change some texts for expert contact features @thomashbrnrd (#371)\\n- Use stdout for logging instead of file @thomashbrnrd (#370)\\n- refactor: :recycle: Update IRCGN phone number and email + Hide contac… @nutfdt (#343)\\n- Change dummy weapong result text and remove beta wording @thomashbrnrd (#335)\\n- Update some texts and fix some typos @thomashbrnrd (#334)\\n- Remove duplicated step in tutorial @thomashbrnrd (#328)\\n- Update LPS phone number and email @thomashbrnrd (#331)\\n- Fix tutorial not showing @thomashbrnrd (#324)\\n- Remove contact form from develop @thomashbrnrd (#321)\\n- Feat yolo classif @AurelienmartW (#320)\\n- Use new ML model @thomashbrnrd (#305)\\n- Use multiple workers in prod @thomashbrnrd (#304)\\n- fix(upload): error page not always showing @thomashbrnrd (#302)\\n- feat: :sparkles: add expert contact path for police and gendarmerie @nutfdt (#289)\\n- feat:
|
Tag PR
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
at /home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:8462:21
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '8970867742',
name: 'pull_request',
payload: {
action: 'opened',
number: 438,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/70154310?v=4',
description: "Datalab du ministère de l'intérieur",
events_url: 'https://api.github.com/orgs/datalab-mi/events',
hooks_url: 'https://api.github.com/orgs/datalab-mi/hooks',
id: 70154310,
issues_url: 'https://api.github.com/orgs/datalab-mi/issues',
login: 'datalab-mi',
members_url: 'https://api.github.com/orgs/datalab-mi/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjcwMTU0MzEw',
public_members_url: 'https://api.github.com/orgs/datalab-mi/public_members{/member}',
repos_url: 'https://api.github.com/orgs/datalab-mi/repos',
url: 'https://api.github.com/orgs/datalab-mi'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/datalab-mi/Basegun/issues/438/comments'
},
commits: {
href: 'https://api.github.com/repos/datalab-mi/Basegun/pulls/438/commits'
},
html: { href: 'https://github.com/datalab-mi/Basegun/pull/438' },
issue: {
href: 'https://api.github.com/repos/datalab-mi/Basegun/issues/438'
},
review_comment: {
href: 'https://api.github.com/repos/datalab-mi/Basegun/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/datalab-mi/Basegun/pulls/438/comments'
},
self: {
href: 'https://api.github.com/repos/datalab-mi/Basegun/pulls/438'
},
statuses: {
href: 'https://api.github.com/repos/datalab-mi/Basegun/statuses/d8b83c14d8e0b33cf2e7f5e687c66c077e3151fd'
}
},
active_lock_reason: null,
additions: 2,
assignee: null,
assignees: [],
author_association: 'MEMBER',
auto_merge: null,
base: {
label: 'datalab-mi:develop',
ref: 'develop',
repo: {
allow_auto_merge: false,
allow_forking: true,
allow_merge_commit: false,
allow_rebase_merge: true,
allow_squash_merge: true,
allow_update_branch: true,
archive_url: 'https://api.github.com/repos/datalab-mi/Basegun/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/datalab-mi/Basegun/assignees{/user}',
blobs_url: 'https://api.github.com/repos/datalab-mi/Basegun/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/datalab-mi/Basegun/branches{/branch}',
clone_url: 'https://github.com/datalab-mi/Basegun.git',
collaborators_url: 'https://api.github.com/repos/datalab-mi/Basegun/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/datalab-mi/Basegun/comments{/number}',
commits_url: 'https://api.github.com/repos/datalab-mi/Basegun/commits{/sha}',
compare_url: 'https://api.github.com/repos/datalab-mi/Basegun/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/datalab-mi/Basegun/contents/{+path}',
contributors_url: 'https://api.github.com/repos/datalab-mi/Basegun/contributors',
created_at: '2021-10-15T14:13:08Z',
default_branch: 'develop',
delete_branch_on_merge: true,
deployments_url: 'https://api.github.com/repos/datalab-mi/Basegun/deployments',
descr
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, release-drafter/release-drafter@v5. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Loading