feat: ✨ hide PN button for expert contact path #1211
Annotations
2 errors and 2 warnings
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '9513833397',
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: 'Fri, 14 Jun 2024 09:25:13 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': '2740:E1D27:220A9FF:3A6AD55:666C0C78',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4995',
'x-ratelimit-reset': '1718360702',
'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/16.20.2 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"target_commitish":"refs/pull/506/merge","name":"PR refs/pull/506/merge","tag_name":"","body":"## Changes\\n\\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 (#473)\\n- Use UTC+1 to display IRCGN phone number @thomashbrnrd (#478)\\n- Add getDisclaimer for semi-auto-style-militaire-autre @thomashbrnrd (#477)\\n- Refactor GuideSecuringFirearm and footer / stepper css @thomashbrnrd (#474)\\n- Refactor category handli
|
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: '9513833397',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '656e0d1bca0f0a5ad96038c48f0487f417690a5b',
before: 'd07ccb36da10e1cd6f6f56fab0fda38ca6b8600a',
number: 506,
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/506/comments'
},
commits: {
href: 'https://api.github.com/repos/dnum-mi/basegun/pulls/506/commits'
},
html: { href: 'https://github.com/dnum-mi/basegun/pull/506' },
issue: {
href: 'https://api.github.com/repos/dnum-mi/basegun/issues/506'
},
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/506/comments'
},
self: {
href: 'https://api.github.com/repos/dnum-mi/basegun/pulls/506'
},
statuses: {
href: 'https://api.github.com/repos/dnum-mi/basegun/statuses/656e0d1bca0f0a5ad96038c48f0487f417690a5b'
}
},
active_lock_reason: null,
additions: 1,
assignee: {
avatar_url: 'https://avatars.githubusercontent.com/u/49862152?v=4',
events_url: 'https://api.github.com/users/nutfdt/events{/privacy}',
followers_url: 'https://api.github.com/users/nutfdt/followers',
following_url: 'https://api.github.com/users/nutfdt/following{/other_user}',
gists_url: 'https://api.github.com/users/nutfdt/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/nutfdt',
id: 49862152,
login: 'nutfdt',
node_id: 'MDQ6VXNlcjQ5ODYyMTUy',
organizations_url: 'https://api.github.com/users/nutfdt/orgs',
received_events_url: 'https://api.github.com/users/nutfdt/received_events',
repos_url: 'https://api.github.com/users/nutfdt/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/nutfdt/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/nutfdt/subscriptions',
type: 'User',
url: 'https://api.github.com/users/nutfdt'
},
assignees: [
{
avatar_url: 'https://avatars.githubusercontent.com/u/49862152?v=4',
events_url: 'https://api.github.com/users/nutfdt/events{/privacy}',
followers_url: 'https://api.github.com/users/nutfdt/followers',
following_url: 'https://api.github.com/users/nutfdt/following{/other_user}',
gists_url: 'https://api.github.com/users/nutfdt/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/nutfdt',
id: 498621
|
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/
|
This job succeeded
Loading