Commit 710104b
committed
fix: the access to the config file
The fix changes the permissions from 600 (owner-only) to 644 (owner read/write, group/others read). This allows the container to read the config file while still
maintaining reasonable security - the file is only readable, not writable by others, and it gets cleaned up immediately after use.
The security is still maintained because:
1. The file is created with a unique name using ${{ github.run_id }}
2. It's cleaned up immediately after the container execution
3. The cleanup happens even on failure with ${{ always() }}
4. The file only exists briefly during action execution
This should resolve the permission denied error you encountered.1 parent d07e5e2 commit 710104b
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
| 40 | + | |
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
45 | | - | |
| 44 | + | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
0 commit comments