Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] GitHub Action leaves files with wrong permissions #1683

Open
2 tasks done
boonto opened this issue Feb 27, 2025 · 2 comments
Open
2 tasks done

[BUG] GitHub Action leaves files with wrong permissions #1683

boonto opened this issue Feb 27, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@boonto
Copy link

boonto commented Feb 27, 2025

Describe the bug.

When running the asyncapi/cli GitHub Action on a non-root self-hosted runner, the permissions of the files in the mounted directories are messed up.
This seems to be a common issue when running docker containers as root on self-hosted runners, see actions/runner#434.

Expected behavior

The docker container is using the same UID as the runner and the permissions of the mounted directories remain unchanged.

Screenshots

How to Reproduce

  1. Setup a non-root self-hosted runner
  2. Use the asyncapi/cli action in a workflow with a checkout beforehand
  3. Run the workflow, it should succeed
  4. Run the workflow, it should fail on the checkout step

🥦 Browser

None

👀 Have you checked for similar open issues?

  • I checked and didn't find similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to work on this issue ?

None

@boonto boonto added the bug Something isn't working label Feb 27, 2025
@github-project-automation github-project-automation bot moved this to To Triage in CLI - Kanban Feb 27, 2025
Copy link
Contributor

Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

@Rustix69
Copy link

Rustix69 commented Mar 5, 2025

@boonto @AceTheCreator Can I work on this bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: To Triage
Development

No branches or pull requests

2 participants