question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Commits not found

See original GitHub issue

Hi 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:closed
  • Created 3 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

51reactions
jonesphillipcommented, Jul 25, 2020

@omairvaiyani do you have the GitHub integration installed with your repository configured on Sentry?

  1. In Sentry, go to Settings > Integrations > GitHub
  2. Go to the “Configurations” tab and click “Configure”
  3. Confirm that your repository is there, if not click “Add Repository”

Let me know if that works for you!

3reactions
ivmakkcommented, Jan 26, 2021

@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).

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found