Error: fatal: could not open '.git/COMMIT_EDITMSG': Permission denied
SummerSec opened this issue · 0 comments
Describe the bug
Error: fatal: could not open '.git/COMMIT_EDITMSG': Permission denied
Workflow used
Provide a snippet of the workflow and/or a link to it (use the commit sha as the ref when you link it, so that it's not influenced by other changes). If you only share a section of the workflow, make sure it includes the step that uses the action!
https://github.com/SummerSec/SummerSec/actions/runs/3359757864/jobs/5568132025
Expected behavior
A clear and concise description of what you expected to happen.
https://github.com/SummerSec/SummerSec/actions/runs/3359757864/workflow
Logs
Either provide a link to the action run or (if your repo is private) paste here the logs from the step that uses it. If you paste the logs, please use this template, and remember to paste the logs from all the different sections.
Logs
Run EndBug/add-and-commit@v9.1.1
with:
add: .
default_author: github_actor
message: Commit from GitHub Actions Auto Actions
pathspec_error_handling: ignore
cwd: .
fetch: --tags --force
push: true
github_token: ***
Running in /home/runner/work/SummerSec/SummerSec
Add input parsed as single string, running 1 git add command.
> Using 'SummerSec ' as author.
> Using "Commit from GitHub Actions Auto Actions" as commit message.
Internal logs
> Staging files...
> Adding files...
> No files to remove.
> Checking for uncommitted changes in the git working tree...
> Found [3](https://github.com/SummerSec/SummerSec/actions/runs/3359757864/jobs/5568132025#step:7:3) changed files.
> Fetching repo...
{ raw: '', remote: null, branches: [], tags: [] }
> Not pulling from repo.
> Creating commit...
Error: Error: fatal: could not open '.git/COMMIT_EDITMSG': Permission denied