Skip to content

Commit

Permalink
Skip uploading benchmark metrics when credentials aren't available
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-ruby-automation committed Sep 16, 2024
1 parent 3a756c6 commit aea96fe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,17 @@ jobs:
run: bundle exec rake benchmark:run

- name: Configure AWS credentials
if: github.repository == 'aws/aws-sdk-ruby'
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::373952703873:role/BenchmarkReporter
role-session-name: benchmark-reporter
aws-region: us-east-1

- name: Upload benchmark report
if: github.repository == 'aws/aws-sdk-ruby'
run: bundle exec rake benchmark:upload-report

- name: Put benchmark metrics
if: github.repository == 'aws/aws-sdk-ruby'
run: bundle exec rake benchmark:put-metrics

0 comments on commit aea96fe

Please sign in to comment.