Show contact only to authenticated users #1227
Annotations
2 errors and 2 warnings
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '9890237274',
status: 422,
response: {
url: 'https://api.github.com/repos/dnum-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': '210',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Thu, 11 Jul 2024 11:02:10 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': 'A432:3D70A6:7D74F89:E685A03:668FBBB1',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4995',
'x-ratelimit-reset': '1720699319',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '5',
'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',
status: '422'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/dnum-mi/basegun/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/514/merge","name":"PR refs/pull/514/merge","tag_name":"","body":"## Changes\\n\\n- Update alarm guns category @thomashbrnrd (#510)\\n- Add OIDC with Passage2 @thomashbrnrd (#508)\\n- Fix MissingCardPage not showing when no card is detected @thomashbrnrd (#507)\\n- feat: :sparkles: hide PN button for expert contact path @nutfdt (#506)\\n- Use pinia-plugin-persistedstate instead of custom vueuse function @thomashbrnrd (#504)\\n- style: :speech\\\\_balloon: change text when typology unknown and update … @nutfdt (#503)\\n- Reset selectedOptions state in result store @thomashbrnrd (#499)\\n- Use ML models package and remove custom ml functions @thomashbrnrd (#500)\\n- Add prettier with usefull configuration @thomashbrnrd (#495)\\n- Update getCategories for revolvers @thomashbrnrd (#494)\\n- Remove custom case for black powder revolver in result page @thomashbrnrd (#493)\\n- feat: :memo: update accessibility and contact pages @nutfdt (#484)\\n- Refactor black powder revolver path @thomashbrnrd (#492)\\n- feat: :sparkles: add luxon for fix utc issues @nutfdt (#491)\\n- fix: :bug: add text to typologies files @nutfdt (#489)\\n- Merge resultStore and stepsStore @thomashbrnrd (#488)\\n- style: :art: update introduction text @nutfdt (#487)\\n- chore: :art: standardize html balises with DSFR @nutfdt (#486)\\n- Update alarm guns number in text @thomashbrnrd (#485)\\n- refactor: :recycle: remove isDummyTypology and refactor guideFactice @nutfdt (#480)\\n- Replace organisation datalab-mi to dnum-mi @thomashbrnrd (#482)\\n- Standardize securing footer @thomashbrnrd (#481)\\n- refactor: :recycle: standardize securing steps on typologies files @nutfdt (#457)\\n- feat: :sparkles: update hidden door revolver videos @nutfdt (
|
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 process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '9890237274',
name: 'pull_request',
payload: {
action: 'opened',
number: 514,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/92156661?v=4',
description: 'Direction de la Transformation Numérique du ministère de l’Intérieur et des Outre-mer',
events_url: 'https://api.github.com/orgs/dnum-mi/events',
hooks_url: 'https://api.github.com/orgs/dnum-mi/hooks',
id: 92156661,
issues_url: 'https://api.github.com/orgs/dnum-mi/issues',
login: 'dnum-mi',
members_url: 'https://api.github.com/orgs/dnum-mi/members{/member}',
node_id: 'O_kgDOBX4y9Q',
public_members_url: 'https://api.github.com/orgs/dnum-mi/public_members{/member}',
repos_url: 'https://api.github.com/orgs/dnum-mi/repos',
url: 'https://api.github.com/orgs/dnum-mi'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/dnum-mi/basegun/issues/514/comments'
},
commits: {
href: 'https://api.github.com/repos/dnum-mi/basegun/pulls/514/commits'
},
html: { href: 'https://github.com/dnum-mi/basegun/pull/514' },
issue: {
href: 'https://api.github.com/repos/dnum-mi/basegun/issues/514'
},
review_comment: {
href: 'https://api.github.com/repos/dnum-mi/basegun/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/dnum-mi/basegun/pulls/514/comments'
},
self: {
href: 'https://api.github.com/repos/dnum-mi/basegun/pulls/514'
},
statuses: {
href: 'https://api.github.com/repos/dnum-mi/basegun/statuses/73eb60ae2920ededb3d9a79b4a6bf0029f9458df'
}
},
active_lock_reason: null,
additions: 10,
assignee: null,
assignees: [],
author_association: 'COLLABORATOR',
auto_merge: null,
base: {
label: 'dnum-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/dnum-mi/basegun/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/dnum-mi/basegun/assignees{/user}',
blobs_url: 'https://api.github.com/repos/dnum-mi/basegun/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/dnum-mi/basegun/branches{/branch}',
clone_url: 'https://github.com/dnum-mi/basegun.git',
collaborators_url: 'https://api.github.com/repos/dnum-mi/basegun/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/dnum-mi/basegun/comments{/number}',
commits_url: 'https://api.github.com/repos/dnum-mi/basegun/commits{/sha}',
compare_url: 'https://api.github.com/repos/dnum-mi/basegun/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/dnum-mi/basegun/contents/{+path}',
contributors_url: 'https://api.github.com/repos/dnum-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/dnum-mi/basegun/deployments',
description: 'Web app for identifying a firearm
|
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/
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, release-drafter/release-drafter@v5. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
This job succeeded
Loading