Commits not found
See original GitHub issueHi thanks for publishing this action, very handy! I’m getting the following error in one of my repositories (private).
usr/bin/docker run --name sentryintegrationssentrygithubactionreleaselatest_b8842c --label 87c201 --workdir /github/workspace --rm -e SENTRY_AUTH_TOKEN -e SENTRY_ORG -e SENTRY_PROJECT -e INPUT_ENVIRONMENT -e INPUT_SOURCEMAPS -e INPUT_VERSION -e INPUT_FINALIZE -e INPUT_STARTED_AT -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/redacted/redacted":"/github/workspace" sentryintegrations/sentry-github-action-release:latest
##[error]Command failed: /action-release/dist/sentry-cli releases set-commits 3.57.0 --auto
error: No commits found. Leaving release alone.
Add --log-level=[info|debug] or export SENTRY_LOG_LEVEL=[info|debug] to see more output.
Please attach the full debug log to all bug reports.
Here is the simplified yaml:
name: Tag release
on:
push:
branches: [master]
tags:
- '!v*'
jobs:
tag_release:
name: Tag release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Create Sentry release
uses: getsentry/action-release@v1.0.0
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: REDACTED
SENTRY_PROJECT: REDACTED
with:
environment: production
sourcemaps: '${{ env.GITHUB_WORKSPACE }}/app'
version: 3.57.0
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
git - github - commits not found - Stack Overflow
My Github profile says that I committed X number of commits to the repository, but when I click on them, it says "commits...
Read more >Commit exists on GitHub but not in my local clone
Sometimes a commit will be viewable on GitHub, but will not exist in your local clone of the repository. When you use git...
Read more >Missing Commits in Bitbucket Server - Atlassian Documentation
You are not seeing previously available commits in your repository. These missing commits are usually a result of a force push that has ......
Read more >Commit and push changes to Git repository - JetBrains
When you run push, Git will refuse to complete the operation if the remote repository has changes that you are missing and that...
Read more >pre-commit
A framework for managing and maintaining multi-language pre-commit hooks. ... on every commit to automatically point out issues in code such as missing...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@omairvaiyani do you have the GitHub integration installed with your repository configured on Sentry?
Let me know if that works for you!
@jonesphillip Thanks for the advice, it works like a charm! But better to post the solution into README (Prerequisites or Troubleshooting section), because the repo integration step isn’t obvious (release tracking via CLI reachable without direct integration with a repo).