Skip to content

fix(shell-wrapper): login shell and user systemd #1036

fix(shell-wrapper): login shell and user systemd

fix(shell-wrapper): login shell and user systemd #1036

Triggered via pull request May 8, 2024 03:31
@nzbrnzbr
synchronize #464
login-shell-fix
Status Success
Total duration 16s
Artifacts

release-drafter.yml

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

Annotations

2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} { name: 'HttpError', id: '8995835718', status: 422, response: { url: 'https://api.github.com/repos/nix-community/NixOS-WSL/releases/134081410', 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: 'Wed, 08 May 2024 03:31:50 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': '0740:3087B7:94127C9:EF4F603:663AF226', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4994', 'x-ratelimit-reset': '1715142704', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '6', '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/nix-community/NixOS-WSL/releases/134081410', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.8.1 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"body":"# Changelog\\n\\n## 🛠️ General Changes\\n\\n* utils/shell-wrapper: hardcode paths to the right sh/env executables (#459) @K900\\n* Don\'t mask resolved systemd unit (#455) @SuperSandro2000\\n* Add instructions to enable WSL 2 (#458) @andoriyu\\n* Add option to disable error about ldconfig (#443) @SuperSandro2000\\n* usbip: make more reliable by using default route (#444) @SuperSandro2000\\n* Create directory for symlink tree (#392) @SuperSandro2000\\n* Ask for output of wsl --version, remove expected behavior (#388) @SuperSandro2000\\n* Fix symlink creation of per-user apps/icons folder (#368) @mprasil\\n* wsl-distro: introduce `wsl.useWindowsDriver` option (#339) @Atry\\n\\n## 🚀 Features\\n\\n* modules/build-tarball: add e2fsprogs dependency (for chattr), use pigz (#385) @K900\\n* feat: add option to disable wslg x11 mount (#371) @PhilippHeuer\\n\\n## 🪲 Bugfixes\\n\\n* fix: non-interactive bash (#452) @nzbr\\n* fix: prevent systemd from hiding wayland socket (#450) @nzbr\\n* Fix /tmp/.X11-unix (#432) @nzbr\\n* fix: bind mount X11 socket instead of symlinking (#420) @nzbr\\n* fix: set state version when building tarballs (#419) @nzbr\\n* Hard-code file names when making symbolic links for drivers (#383) @Atry\\n* fix: start menu launchers rsync of directory symlinks (#380) @terlar\\n\\n## 📖 Documentation\\n\\n* Add example flake configuration (#446) @Prince213\\n* Update README.md - use %localappdata% instead of the cwd (#438) @noamraph\\n","draft":true,"prerelease":false,"make_latest":"true","tag_name":"untagged-975132a2bb2e7d3a3fd5","target_commitish":"refs/pull/464/merge"}', request: {} }, event: { id: '8995835718', name: 'pull_request', payload: { action: 'synchronize', after: '473eda6b6dcd3a78b68300df6
update_release_draft
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} at /home/runner/work/_actions/release-drafter/release-drafter/v6/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/v6/dist/index.js:30793:18) { name: 'AggregateError', event: { id: '8995835718', name: 'pull_request', payload: { action: 'synchronize', after: '473eda6b6dcd3a78b68300df6122b09f6b358c81', before: '7a38b6f1641e833d7bf1970bdb4071d1bfd30482', number: 464, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/33221035?v=4', description: 'A project incubator that works in parallel of the @NixOS org', events_url: 'https://api.github.com/orgs/nix-community/events', hooks_url: 'https://api.github.com/orgs/nix-community/hooks', id: 33221035, issues_url: 'https://api.github.com/orgs/nix-community/issues', login: 'nix-community', members_url: 'https://api.github.com/orgs/nix-community/members{/member}', node_id: 'MDEyOk9yZ2FuaXphdGlvbjMzMjIxMDM1', public_members_url: 'https://api.github.com/orgs/nix-community/public_members{/member}', repos_url: 'https://api.github.com/orgs/nix-community/repos', url: 'https://api.github.com/orgs/nix-community' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/nix-community/NixOS-WSL/issues/464/comments' }, commits: { href: 'https://api.github.com/repos/nix-community/NixOS-WSL/pulls/464/commits' }, html: { href: 'https://github.com/nix-community/NixOS-WSL/pull/464' }, issue: { href: 'https://api.github.com/repos/nix-community/NixOS-WSL/issues/464' }, review_comment: { href: 'https://api.github.com/repos/nix-community/NixOS-WSL/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/nix-community/NixOS-WSL/pulls/464/comments' }, self: { href: 'https://api.github.com/repos/nix-community/NixOS-WSL/pulls/464' }, statuses: { href: 'https://api.github.com/repos/nix-community/NixOS-WSL/statuses/473eda6b6dcd3a78b68300df6122b09f6b358c81' } }, active_lock_reason: null, additions: 77, assignee: null, assignees: [], author_association: 'MEMBER', auto_merge: null, base: { label: 'nix-community:main', ref: 'main', 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/nix-community/NixOS-WSL/{archive_format}{/ref}', archived: false, assignees_url: 'https://api.github.com/repos/nix-community/NixOS-WSL/assignees{/user}', blobs_url: 'https://api.github.com/repos/nix-community/NixOS-WSL/git/blobs{/sha}', branches_url: 'https://api.github.com/repos/nix-community/NixOS-WSL/branches{/branch}', clone_url: 'https://github.com/nix-community/NixOS-WSL.git', collaborators_url: 'https://api.github.com/repos/nix-community/NixOS-WSL/collaborators{/collaborator}', comments_url: 'https://api.github.com/repos/nix-community/NixOS-WSL/comments{/number}', commits_url: 'https://api.github.com/repos/nix-community/NixOS-WSL/commits{/sha}', compare_url: 'https://api.github.com/repos/nix-community/NixOS-WSL/compare/{base}...{head}', contents_url: 'https://api.github.com/repos/nix-community/NixOS-WSL/contents/{+path}', contributors_url: 'https://api.gi