Skip to content
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

Error in creating the sentry release using GitHub Actions #195

Open
r-aju opened this issue Jun 14, 2024 · 2 comments
Open

Error in creating the sentry release using GitHub Actions #195

r-aju opened this issue Jun 14, 2024 · 2 comments

Comments

@r-aju
Copy link

r-aju commented Jun 14, 2024

Github Sentry Action Release Bug Report

Environment

How do you use this action?
self-hosted runners (linux x86 arch)
Which version of the action?
getsentry/action-release@v1

Steps to Reproduce

  1. What
    GitHub Actions file:
name: Sentry release

on:
  push:
    branches:
      - "github-action-test"

jobs:
  arm-build:
    runs-on: [arc-runner-kubernetes-ci]
    container:
      image: ubuntu:20.04
    permissions:
      contents: read
      packages: write

    steps:
      - name: "Checkout"
        uses: actions/[email protected]
          
      - name: Create Sentry release
        uses: getsentry/action-release@v1
        env:
          SENTRY_AUTH_TOKEN: "<TOKEN>"
          SENTRY_ORG: "<ORG>"
          SENTRY_PROJECT: "<NAME>"
          # SENTRY_URL: https://sentry.io/
        with:
          environment: stage     
          set_commits: skip

Expected Result

Sentry creating a release version

What you thought would happen.

Actual Result

The step failing with the below error
What actually happened. Maybe a screenshot/recording? Maybe some logs?

Error: Command failed: /action-release/node_modules/@sentry/cli-linux-x64/bin/sentry-cli releases propose-version
error: Could not automatically determine release name:
	 could not find repository at '.'; class=Repository (6); code=NotFound (-3) 

Please ensure your version control system is configured correctly, or provide a release name manually.

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.
@r-aju
Copy link
Author

r-aju commented Jun 14, 2024

Screenshot 2024-06-14 at 5 21 01 PM

@RSickenberg
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants