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

Add sentry-issue-limiter #275

Merged
merged 1 commit into from
Mar 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/sentry-issue-limiter/.nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20
3 changes: 3 additions & 0 deletions packages/sentry-issue-limiter/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# :robot: `sentry-issue-limiter`

Check the number of sentry project issues
32 changes: 32 additions & 0 deletions packages/sentry-issue-limiter/action.yml
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🌍 Configurable

Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: 'Sentry issue limiter'
description: 'Check the number of sentry project issues'
inputs:
sentryApiToken:
description: 'Sentry Api token'
required: true
organizationSlug:
description: 'The slug of the organization the issues belong to'
required: false
default: 'osome'
projectSlug:
description: 'The slug of the project the issues belong to'
required: true
threshold:
description: 'Threshold number of Sentry issues'
required: false
default: 0
statsPeriod:
description: 'An optional stat period (can be one of "24h", "14d", and "")'
required: false
default: '24h'
environment:
description: 'Environment name'
required: false
default: 'stage'
query:
description: 'An optional Sentry structured search query'
required: false
default: 'is:unresolved !is:archived'
runs:
using: 'node20'
main: './dist/index.js'
3 changes: 3 additions & 0 deletions packages/sentry-issue-limiter/dist/index.js

Large diffs are not rendered by default.

Loading
Loading