File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Application observability for AWS
2+
3+ on :
4+ issue_comment :
5+ types : [created, edited]
6+ pull_request_review_comment :
7+ types : [created]
8+ issues :
9+ types : [opened, assigned, edited]
10+ pull_request_review :
11+ types : [submitted]
12+
13+ jobs :
14+ awsapm-investigation :
15+ if : |
16+ (github.event_name == 'issue_comment' && contains(github.event.comment.body, '@awsapm')) ||
17+ (github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@awsapm')) ||
18+ (github.event_name == 'pull_request_review' && contains(github.event.review.body, '@awsapm')) ||
19+ (github.event_name == 'issues' && (contains(github.event.issue.body, '@awsapm') || contains(github.event.issue.title, '@awsapm')))
20+ runs-on : ubuntu-latest
21+ permissions :
22+ contents : write
23+ pull-requests : write
24+ issues : write
25+ steps :
26+ - name : Checkout repository
27+ uses : actions/checkout@v4
28+ with :
29+ fetch-depth : 1
30+
31+ - name : Run Application observability for AWS Investigation
32+ id : awsapm
33+ uses : mxiamxia/aws-apm-action@main
34+ with :
35+ aws_access_key_id : ${{ secrets.AWS_ACCESS_KEY_ID }}
36+ aws_secret_access_key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
37+ aws_region : ${{ vars.AWS_REGION || 'us-east-1' }}
38+ bot_name : " @awsapm"
You can’t perform that action at this time.
0 commit comments