[PR #334] [MERGED] fix file permission for non root user docker image #1414

Closed
opened 2026-03-01 21:51:05 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/334
Author: @watiko
Created: 8/8/2020
Status: Merged
Merged: 8/8/2020
Merged by: @cplee

Base: masterHead: fix/use-octal-literals-for-file-perm


📝 Commits (1)

  • b3f8b43 fix file permission for non root user docker image

📊 Changes

4 files changed (+14 additions, -3 deletions)

View changed files

📝 pkg/runner/run_context.go (+2 -2)
📝 pkg/runner/runner_test.go (+1 -0)
📝 pkg/runner/step_context.go (+1 -1)
pkg/runner/testdata/job-container-non-root/push.yml (+10 -0)

📄 Description

File permission bits requires octal literals. So I prepend 0 simply.

I used go test -run '^TestRunEvent$/job-container-non-root' ./... for test.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/nektos/act/pull/334 **Author:** [@watiko](https://github.com/watiko) **Created:** 8/8/2020 **Status:** ✅ Merged **Merged:** 8/8/2020 **Merged by:** [@cplee](https://github.com/cplee) **Base:** `master` ← **Head:** `fix/use-octal-literals-for-file-perm` --- ### 📝 Commits (1) - [`b3f8b43`](https://github.com/nektos/act/commit/b3f8b4319f5d06e184cdd6d300152ca2ca5ba4c8) fix file permission for non root user docker image ### 📊 Changes **4 files changed** (+14 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `pkg/runner/run_context.go` (+2 -2) 📝 `pkg/runner/runner_test.go` (+1 -0) 📝 `pkg/runner/step_context.go` (+1 -1) ➕ `pkg/runner/testdata/job-container-non-root/push.yml` (+10 -0) </details> ### 📄 Description File permission bits requires octal literals. So I prepend `0` simply. I used `go test -run '^TestRunEvent$/job-container-non-root' ./...` for test. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 21:51:05 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#1414
No description provided.