Skip to content

Commit 1d3f455

Browse files
committed
fix: role name for integration tests (#75)
* fix: role name for integration tests * fix: role name for integration tests * fix: role name for integration tests * fix: role name for integration tests
1 parent cc78e05 commit 1d3f455

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/aws-lambda-java-profiler.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
name: Run integration tests for aws-lambda-java-profiler
22

33
on:
4+
pull_request:
5+
branches: [ '*' ]
6+
paths:
7+
- 'aws-lambda-java-profiler/**'
8+
- '.github/workflows/aws-lambda-java-profiler.yml'
49
push:
510
branches: ['*']
611
paths:
712
- 'aws-lambda-java-profiler/**'
813
- '.github/workflows/aws-lambda-java-profiler.yml'
9-
workflow_dispatch:
1014

1115
jobs:
1216

@@ -29,8 +33,8 @@ jobs:
2933
- name: Issue AWS credentials
3034
uses: aws-actions/configure-aws-credentials@v4
3135
with:
32-
aws-region: ${{ secrets.AWS_REGION }}
33-
role-to-assume: ${{ secrets.AWS_ROLE }}
36+
aws-region: ${{ secrets.AWS_REGION_PROFILER_EXTENSION_INTEGRATION_TEST }}
37+
role-to-assume: ${{ secrets.AWS_ROLE_PROFILER_EXTENSION_INTEGRATION_TEST }}
3438
role-session-name: GitHubActionsRunIntegrationTests
3539
role-duration-seconds: 900
3640

0 commit comments

Comments
 (0)