WebDec 29, 2024 · Please run actions/checkout with fetch-depth > 1 or set to 0. Since release v1.1.0 I am getting the following error: -> Issue detecting commit SHA. Please run actions/checkout with fetch-depth > 1 or set to 0. ... Codecov apparently has trouble detecting the git commit if the fetch depth is only 1 (the default). Therefore increase it. WebJun 12, 2024 · Also, that checkout is shallow by default, meaning it only has the last commit. To read more than the last commit, pass a non zero number to fetch-depth, or zero as well, which will fetch the entire history (default is 1): - uses: actions/checkout@v2 with: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0
How do I push an npm version using Github Actions?
WebAug 30, 2024 · To do this, we will use the official checkout action by GitHub. We will set fetch-depth: 0 to fetch all history for all branches and tags which is required for Super linter to get a proper list of changed files. If you hadn't … WebName used to configure git (for git operations) github-actions[bot] git_email: Email address used to configure git (for git operations) github-actions[bot]@users.noreply.github.com: push: Define if the changes should be pushed to the branch. true: merge: Define if the changes should be pushed even on the … the barflys
Github Actions: Git diff master...HEAD fatal: no merge base
WebMar 11, 2024 · Execute GitVersion Action (gitversion/execute) Usage Examples. Find out how to use the gitversion/execute action using the examples below. For the GitVersion workflow to execute successfully, you must checkout your Git repository with fetch-depth: 0 to fetch all history for all tags and branches, as follows: WebNov 22, 2024 · If you want to explore the history of master and HEAD (as in : find the merge base for these two commits), you can't limit your clone/fetch actions to a shallow clone -- not with depth=1 at least.. Try setting fetch-depth: 0 (or perhaps fetch-depth: 1000 # a high enough number) in the config of your action/checkout@v2 (as described in the … WebFeb 20, 2024 · Actions Projects Security Insights New issue allow fetch tags too #701 Open bluelovers opened this issue on Feb 20, 2024 · 10 comments bluelovers commented on Feb 20, 2024 randymarsh77 mentioned this issue on Mar 3, 2024 Provide option to clean local tags #715 Open get no tags ( fetch-depth > 0 ) the gujarat safe deposit company limited