getsentry / action-release

GitHub Action for creating a release on Sentry
Apache License 2.0
446 stars 53 forks source link

Error during execution: repository path '/github/workspace/' is not owned by current user #182

Closed noah-prosperops closed 11 months ago

noah-prosperops commented 11 months ago

Github Sentry Action Release Bug Report

Environment

We're seeing this occur in our self-hosted runner shortly after the latest release.

Error: Command failed: /action-release/node_modules/@sentry/cli-linux-x64/bin/sentry-cli releases set-commits xxxxxx --auto
error: repository path '/github/workspace/' is not owned by current user; class=Config (7); code=Owner (-36)

How do you use this action?

Self-hosted runner on Ubuntu 22.04

Which version of the action?

v1

Steps to Reproduce

Run workflow, observe error while executing getsentry/action-release@v1

Expected Result

No error. This worked an hour ago.

Actual Result

See error above

rathpc commented 11 months ago

I am also now seeing this issue and it is a major blocking problem as our org defines which versions of actions are allowed and this had been defined as v1 and not v1.4.1 which would have prevented this breaking version (1.5.0) from automatically being used. Can this be fixed ASAP or in the interim publish a revert until the cause is determined so that it will unblock workflows that target v1 as the version?

rathpc commented 11 months ago

Cc @scefali for visibility

scefali commented 11 months ago

Yea, let me revert.

rathpc commented 11 months ago

Yea, let me revert.

Thank you!

rathpc commented 11 months ago

@scefali it looks like the revert alone didn't fix the issue because targeting v1 tries to pull latest from ghcr and I assume that is still pointing at the 1.5.0 release?

rathpc commented 11 months ago

Yea it looks like this https://github.com/getsentry/action-release/pkgs/container/action-release-image/155367620?tag=latest is still what gets pulled

alfieyfc commented 11 months ago

We're also still experiencing the same issue at the moment 🙏

scefali commented 11 months ago

Damn, I guess deleting the release in GH and setting 1.4.1 the latest didn't work. Hopefully rolling forward with a new version works: https://github.com/getsentry/action-release/releases/tag/v1.6.0

rathpc commented 11 months ago

That fixed it, thank you very much for the quick fix!

alfieyfc commented 11 months ago

Confirmed working from our end as well. Thanks!

scefali commented 11 months ago

Ok closing again