tclindner / sentry-releases-action Goto Github PK
View Code? Open in Web Editor NEWA GitHub action that creates releases for Sentry.io.
License: MIT License
A GitHub action that creates releases for Sentry.io.
License: MIT License
I'm trying to use this action, but it fails with the following error:
##[error]Command failed: /home/runner/work/_actions/tclindner/sentry-releases-action/v1.0.0/dist/sentry-cli releases set-commits bfd4135e51c9949feb732f4b12194dee3af5a2a9 --auto
error: API request failed
caused by: sentry reported an error: You do not have permission to perform this action. (http status: 403)
I believe the issue comes from this line, where repo
is hardcoded, and does not correspond to any repository integration on Sentry:
I got this warning today:
the default --no-rewrite will disappear. Please specify --rewrite or --no-rewrite explicitly during sourcemap upload
Maybe it's time to use the explicit flag?
Do you support configuring the URL to point at a custom Sentry instance?
Just working on getting this set up, and I can't find where the readme says what permissions are needed. Clarification would be great. Going to try giving just the releases permission, but I suspect iteration pain in my future.
Thanks for the useful tool.
Hi Folks,
Thanks for creating this action. I'm having an issue where the version is being set to an invalid value per the error message
##[error]Command failed: /home/runner/work/_actions/tclindner/sentry-releases-action/v1.0.0/dist/sentry-cli releases new refs/heads/master
error: Invalid value for '<VERSION>': Invalid release version. Slashes and certain whitespace characters are not permitted.
I don't know if you've come across this before or have any idea what's going on. Incase it's something I've done you can see the integration at https://github.com/railto/markrailton.com/blob/master/.github/workflows/deploy.yml#L48
Thanks again for creating this and hopefully you have some idea as to what is going on.
Mark
Is there any chance a new release can be made for this repo to pull in all the changes since May 2020 (date of the last release)?
Notably 1.2.0 still uses node12, which causes deprecation warnings when being ran. I can see on master this has been bumped up to node 16, along with many other dependency bumps .
Thanks for the awesome work.
I am very new to actions. Can you please provide me an example on how I can upload source maps?
I am getting this error when trying to add release prefix
Unexpected input 'releaseNamePrefix', valid inputs are ['tagName', 'environment']
Here is my action file
name: ReleaseWorkFlow
on:
release:
types: [published, prereleased]
jobs:
createSentryRelease:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Create a Sentry release
uses: tclindner/[email protected]
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: xyz
SENTRY_PROJECT: abc
with:
tagName: ${{ github.ref }}
environment: production
releaseNamePrefix: main-
- name: Create a deploy for a Sentry.io release
uses: tclindner/[email protected]
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: xyz
SENTRY_PROJECT: abc
with:
version: ${{ github.ref }}
environment: production
versionPrefix: main-
Is there something I am doing wrong? Please help!
Hello! I was using that action for my github project for some time now and it recently started throwing a following error:
Tag is: [email protected]
Sentry release is: [email protected]
Error: Command failed: /home/runner/work/_actions/tclindner/sentry-releases-action/v1.2.0/dist/sentry-cli releases set-commits [email protected] --auto
error: For non git repositories explicit revisions are required
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.
My config is:
name: Create a Sentry.io release
on:
release:
types: [published, prereleased]
jobs:
createSentryRelease:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@master
- name: Create a Sentry.io release
uses: tclindner/[email protected]
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: yyy
SENTRY_PROJECT: xxx
with:
tagName: xxx@${{ github.ref }}
environment: production
Thanks in advance for any clues!
Good day,
We are getting this message when using this action to create a release in sentry:
Error: Command failed: /__w/_actions/tclindner/sentry-releases-action/v1.2.0/dist/sentry-cli releases new $SENTRY_PROJECT0.1.35
error: API request failed
caused by: [60] SSL peer certificate or SSH remote key was not OK
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.
What are we missing to configure? is it a sentry issue?
Thank you,
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.