feat: ✨ add a different security message for civilians #561
pr.yml
on: pull_request
tag-pr
9s
build-and-test
/
test-app-k8s
5m 45s
Annotations
4 errors and 2 warnings
tag-pr
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '6160394783',
status: 422,
response: {
url: 'https://api.github.com/repos/datalab-mi/Basegun/releases/119951638',
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: 'Tue, 12 Sep 2023 14:03:04 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': '94A0:727E:2E588D:5DF4D1:65006F98',
'x-ratelimit-limit': '1000',
'x-ratelimit-remaining': '982',
'x-ratelimit-reset': '1694530154',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '18',
'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'
}
},
request: {
method: 'PATCH',
url: 'https://api.github.com/repos/datalab-mi/Basegun/releases/119951638',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/16.20.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"## Changes\\n\\n- Update thresholds for new classification model @leihuayi (#175)\\n\\n## 🐛 Bug Fixes\\n\\n- Adapt confidence levels to new classification model @leihuayi (#172)\\n- fix : :bug: move to swiper element @NadeigeC (#171)\\n\\n## 🔥 Enhancements\\n\\n- [WIP] refactor: :recycle: remove useless code and clean code @NadeigeC (#174)\\n","draft":true,"prerelease":true,"name":"PR refs/pull/180/merge","tag_name":"v3.2","target_commitish":"refs/pull/180/merge"}',
request: {}
},
event: {
id: '6160394783',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '1f3af77556e993fa48137b890a36b5c3e9366850',
before: 'baec28e9eec29f75a872a363beab48e063ac2de4',
number: 180,
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/180/comments'
},
commits: {
href: 'https://api.github.com/repos/datalab-mi/Basegun/pulls/180/commits'
},
|
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: '6160394783',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '1f3af77556e993fa48137b890a36b5c3e9366850',
before: 'baec28e9eec29f75a872a363beab48e063ac2de4',
number: 180,
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/180/comments'
},
commits: {
href: 'https://api.github.com/repos/datalab-mi/Basegun/pulls/180/commits'
},
html: { href: 'https://github.com/datalab-mi/Basegun/pull/180' },
issue: {
href: 'https://api.github.com/repos/datalab-mi/Basegun/issues/180'
},
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/180/comments'
},
self: {
href: 'https://api.github.com/repos/datalab-mi/Basegun/pulls/180'
},
statuses: {
href: 'https://api.github.com/repos/datalab-mi/Basegun/statuses/1f3af77556e993fa48137b890a36b5c3e9366850'
}
},
active_lock_reason: null,
additions: 215,
assignee: {
avatar_url: 'https://avatars.githubusercontent.com/u/9094581?v=4',
events_url: 'https://api.github.com/users/NadeigeC/events{/privacy}',
followers_url: 'https://api.github.com/users/NadeigeC/followers',
following_url: 'https://api.github.com/users/NadeigeC/following{/other_user}',
gists_url: 'https://api.github.com/users/NadeigeC/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/NadeigeC',
id: 9094581,
login: 'NadeigeC',
node_id: 'MDQ6VXNlcjkwOTQ1ODE=',
organizations_url: 'https://api.github.com/users/NadeigeC/orgs',
received_events_url: 'https://api.github.com/users/NadeigeC/received_events',
repos_url: 'https://api.github.com/users/NadeigeC/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/NadeigeC/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/NadeigeC/subscriptions',
type: 'User',
url: 'https://api.github.com/users/NadeigeC'
},
assignees: [
{
avatar_url: 'https://avatars.githubusercontent.com/u/9094581?v=4',
events_url: 'https://api.github.com/users/NadeigeC/events{/privacy}',
followers_url: 'https://api.github.com/users/NadeigeC/followers',
following_url: 'https://api.github.com/users/NadeigeC/following{/other_user}',
gists_url: 'https://api.github.com/users/NadeigeC/gists{/gist_id}',
gravatar_id: '',
html_url: 'h
|
build-and-test / test-app-k8s
Process completed with exit code 1.
|
build-and-test / test-app-k8s
Process completed with exit code 1.
|
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/
|
build-and-test / test-app-k8s
No files were found with the provided path: ./frontend/cypress/screenshots/. No artifacts will be uploaded.
|