fix: 🐛 fix display after login on expert contact path #1302
pr.yml
on: pull_request
Build Backend
2m 8s
Build Frontend
1m 1s
tag-pr
5s
Test Frontend Formatting
28s
Test Backend
1m 12s
Run E2E tests
/
test-e2e
3m 38s
Annotations
2 errors and 3 warnings
tag-pr
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '10608679399',
status: 422,
response: {
url: 'https://api.github.com/repos/dnum-mi/basegun/releases/172393224',
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, 29 Aug 2024 04:25:38 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': 'CC86:119080:F3F462:1C91930:66CFF842',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4980',
'x-ratelimit-reset': '1724908514',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '20',
'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/dnum-mi/basegun/releases/172393224',
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- Update LICENSE @leihuayi (#551)\\n- fix: :bug: fix redirection after login with Passage 2 @nutfdt (#550)\\n- fix: :lock: set server\\\\_tokens to off in nginx conf @thomashbrnrd (#540)\\n- feat: :sparkles: add pictures as email attachements @thomashbrnrd (#539)\\n- refactor: :recycle: rework signing key retrieval @thomashbrnrd (#538)\\n- Add email client with local email server @thomashbrnrd (#513)\\n- Show contact only to authenticated users @thomashbrnrd (#514)\\n\\n## 🚀 Features\\n\\n- feat: ✨ finalize expert form contact with email attachment @nutfdt (#541)\\n\\n## 🐛 Bug Fixes\\n\\n- fix: :bug: remove measure model call when confidence level is low @nutfdt (#530)\\n","draft":true,"prerelease":true,"make_latest":"false","name":"PR refs/pull/557/merge","target_commitish":"refs/pull/557/merge"}',
request: {}
},
event: {
id: '10608679399',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '9c61468cdfae06a2e314a63f682c0a3fa21c7538',
before: '3fa80e05417b597747dc01f428de98994111f9bc',
number: 557,
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
|
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 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: '10608679399',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '9c61468cdfae06a2e314a63f682c0a3fa21c7538',
before: '3fa80e05417b597747dc01f428de98994111f9bc',
number: 557,
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/557/comments'
},
commits: {
href: 'https://api.github.com/repos/dnum-mi/basegun/pulls/557/commits'
},
html: { href: 'https://github.com/dnum-mi/basegun/pull/557' },
issue: {
href: 'https://api.github.com/repos/dnum-mi/basegun/issues/557'
},
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/557/comments'
},
self: {
href: 'https://api.github.com/repos/dnum-mi/basegun/pulls/557'
},
statuses: {
href: 'https://api.github.com/repos/dnum-mi/basegun/statuses/9c61468cdfae06a2e314a63f682c0a3fa21c7538'
}
},
active_lock_reason: null,
additions: 13,
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',
|
tag-pr
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/
|
tag-pr
The following actions use a deprecated Node.js version 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/
|
Run E2E tests / test-e2e
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|