-
Notifications
You must be signed in to change notification settings - Fork 16
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
"fatal: not in a git directory" after several successful runs #49
Comments
We are also facing same issue. @saadmk11 Can you please help us? |
@GopikaV24 Can you please share your workflow file content? |
Please refer this,
|
Please check if running this command before running GitHub Actions Version Updater works for you
- uses: actions/checkout@v3
with:
# [Required] Access token with `workflow` scope.
token: ${{ secrets.WORKFLOW_SECRET }}
- run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Run GitHub Actions Version Updater
uses: saadmk11/[email protected]
with:
# [Required] Access token with `workflow` scope.
token: ${{ secrets.WORKFLOW_SECRET }}
extra_workflow_locations: "./workflows" ref: |
Same issue again. |
I have tried to revert the "actions/checkout" to v3.1.0: jmlemetayer/project-release@350fddd But it still failing: https://github.com/jmlemetayer/project-release/actions/runs/3713459678/jobs/6296129467 |
I have added a PR for this here: #50 @jmlemetayer @GopikaV24 Please check if this solves the issue for you. Use: uses: saadmk11/github-actions-version-updater@safe-dir |
Now its working fine using uses: saadmk11/github-actions-version-updater@safe-dir @saadmk11. Thanks |
I confirm that it works for me too: @saadmk11 Can you make a branch with both #50 and #40 as a final test ? |
Hi @jmlemetayer, Rebased https://github.com/saadmk11/github-actions-version-updater/tree/pr-branch-config with the current main branch |
Hi everyone, I have just released https://github.com/saadmk11/github-actions-version-updater/releases/tag/v0.7.2. This should fix the issue you were facing. Please update to |
The actions were working correctly, and during the last run the error "fatal : not in a git directory" appeared.
The faulty run:
https://github.com/jmlemetayer/project-release/actions/runs/3699984553/jobs/6267948063
The last modification of the workflow was the update of the "actions/checkout" to v3.2.0 (done by the github-actions-version-updater):
jmlemetayer/project-release@a0a4dfd
The text was updated successfully, but these errors were encountered: