Skip to content

Add functionality for converting Device models to json #66

Add functionality for converting Device models to json

Add functionality for converting Device models to json #66

Triggered via pull request April 1, 2024 13:29
Status Success
Total duration 14s
Artifacts

release-drafter.yml

on: pull_request
update_release_draft
6s
update_release_draft
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} { name: 'HttpError', id: '8508694663', status: 422, response: { url: 'https://api.github.com/repos/mario-bermonti/cognitive_data/releases/145347882', 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, 01 Apr 2024 13:29:14 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': 'A806:183B6C:31CBAD9:50079CE:660AB6AA', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4961', 'x-ratelimit-reset': '1711979550', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '39', '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/mario-bermonti/cognitive_data/releases/145347882', 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: `{"body":"## What’s Changed\\n\\nEssentially the changes can be categorized as:\\n # Summarize changes here\\n\\nA more detailed description is:\\n\\n* Add functionality for converting Session models to json (#74) @mario-bermonti\\n* Add functionality for converting Trial models to json (#73) @mario-bermonti\\n* Fix dependencies and migrate code (#72) @mario-bermonti\\n* Add basic basic functionality to store data in Firebase Firestore (#69) @mario-bermonti\\n* refactor: Remove FirebaseDB.init (#68) @mario-bermonti\\n* Implement Firebase functionality to save data from a single trial (#67) @mario-bermonti\\n* Store firebase data into subcollections inside session (#66) @mario-bermonti\\n* Fix: Store session metadata in firebase field and don't override other fields (#65) @mario-bermonti\\n* Add functionality to save device metadata to firebase (#64) @mario-bermonti\\n* Implement method to store session metadata in firebase (#63) @mario-bermonti\\n* Create example app to demonstrate FirebaseDB functionality (#62) @mario-bermonti\\n* Add data needed by most methods as Firebasedb params (#61) @mario-bermonti\\n* Add method for initializing the firebase db (#60) @mario-bermonti\\n* Bump cognitive_data to v0.2.0 (#58) @mario-bermonti\\n\\n## :busts_in_silhouette: List of contributors\\n\\n@mario-bermonti\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v0.2.1","tag_name":"v0.2.1","target_commitish":"refs/pull/75/merge"}`, request: {} }, event: { id: '8508694663', name: 'pull_request', payload: { action: 'synchronize', after: '2719b1437e7c6eeeffa0a085992c96950168cfc7', before: 'f50db36ca333135ebb1909ff827df96f0b836adf', number: 75, pull_request: { _links: { comm
update_release_draft
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: '8508694663', name: 'pull_request', payload: { action: 'synchronize', after: '2719b1437e7c6eeeffa0a085992c96950168cfc7', before: 'f50db36ca333135ebb1909ff827df96f0b836adf', number: 75, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/mario-bermonti/cognitive_data/issues/75/comments' }, commits: { href: 'https://api.github.com/repos/mario-bermonti/cognitive_data/pulls/75/commits' }, html: { href: 'https://github.com/mario-bermonti/cognitive_data/pull/75' }, issue: { href: 'https://api.github.com/repos/mario-bermonti/cognitive_data/issues/75' }, review_comment: { href: 'https://api.github.com/repos/mario-bermonti/cognitive_data/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/mario-bermonti/cognitive_data/pulls/75/comments' }, self: { href: 'https://api.github.com/repos/mario-bermonti/cognitive_data/pulls/75' }, statuses: { href: 'https://api.github.com/repos/mario-bermonti/cognitive_data/statuses/2719b1437e7c6eeeffa0a085992c96950168cfc7' } }, active_lock_reason: null, additions: 45, assignee: null, assignees: [], author_association: 'OWNER', auto_merge: null, base: { label: 'mario-bermonti:mario-bermonti/issue70', ref: 'mario-bermonti/issue70', repo: { allow_auto_merge: false, allow_forking: true, allow_merge_commit: true, allow_rebase_merge: true, allow_squash_merge: true, allow_update_branch: false, archive_url: 'https://api.github.com/repos/mario-bermonti/cognitive_data/{archive_format}{/ref}', archived: false, assignees_url: 'https://api.github.com/repos/mario-bermonti/cognitive_data/assignees{/user}', blobs_url: 'https://api.github.com/repos/mario-bermonti/cognitive_data/git/blobs{/sha}', branches_url: 'https://api.github.com/repos/mario-bermonti/cognitive_data/branches{/branch}', clone_url: 'https://github.com/mario-bermonti/cognitive_data.git', collaborators_url: 'https://api.github.com/repos/mario-bermonti/cognitive_data/collaborators{/collaborator}', comments_url: 'https://api.github.com/repos/mario-bermonti/cognitive_data/comments{/number}', commits_url: 'https://api.github.com/repos/mario-bermonti/cognitive_data/commits{/sha}', compare_url: 'https://api.github.com/repos/mario-bermonti/cognitive_data/compare/{base}...{head}', contents_url: 'https://api.github.com/repos/mario-bermonti/cognitive_data/contents/{+path}', contributors_url: 'https://api.github.com/repos/mario-bermonti/cognitive_data/contributors', created_at: '2023-12-17T21:54:50Z', default_branch: 'main', delete_branch_on_merge: false, deployments_url: 'https://api.github.com/repos/mario-bermonti/cognitive_data/deployments', description: 'Package to simplify managing data from flutter apps that collect data from scientific studies. Particular emphasis on data from cognitive tasks.', disabled: false, downloads_url: 'https://api.github.com/repos/mario-bermonti/cognitive_data/downloads', events_url: 'https://api.github.com/repos/mario-bermonti/cognitive_data/events',
update_release_draft
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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/.