-
-
Notifications
You must be signed in to change notification settings - Fork 1
[UPSTREAM_BUG] Error: fatal: not in a git directory #13
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingupstreamAn upstream bug causes these Issues.An upstream bug causes these Issues.
Description
I noticed that when I run the action with the checkout@v4 it triggers a fatal: not in a git directory error when running the action. error.
name: Update Semver
on:
push:
branches-ignore:
- '**'
tags:
- 'v*.*.*'
jobs:
update-semver:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: rickstaa/action-update-semver@mainThis error was introduced in https://github.blog/2022-04-12-git-security-vulnerability-announced/; an official statement of the GitHub team about this problem can be found actions/checkout#766.
I applied the workout suggested in actions/checkout#766 in #14. This fix can be removed when a patch has been applied to the action ecosystem (See actions/checkout#766). I will keep this issue open until an upstream fix has been used.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingupstreamAn upstream bug causes these Issues.An upstream bug causes these Issues.