Skip to content

Commit c367a6a

Browse files
authored
chore: integ tests manual option (#1639)
* temp integ test fix temp fix so that integ tests will still run while release-please is disabled * add workflow-dispatch trigger let us manually run integ tests
1 parent 7ceaf96 commit c367a6a

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/tests-integ-release.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
name: Run pre-release integ tests
22
on:
33
pull_request_target:
4+
workflow_dispatch:
45
permissions:
56
contents: read
67

78
jobs:
89
oidc:
9-
if: ${{ github.event.pull_request.user.login == 'aws-sdk-osds' && github.repository == 'aws-actions/configure-aws-credentials' }}
10+
if: ${{ github.event_name == 'workflow_dispatch' || (github.event.pull_request.user.login == 'aws-sdk-osds' && github.repository == 'aws-actions/configure-aws-credentials') }}
1011
permissions:
1112
id-token: write
1213
strategy:
@@ -32,7 +33,7 @@ jobs:
3233
3334
#can cut this test out if it's not necessary
3435
static_assumeRole:
35-
if: ${{ github.event.pull_request.user.login == 'aws-sdk-osds' && github.repository == 'aws-actions/configure-aws-credentials' }}
36+
if: ${{ github.event_name == 'workflow_dispatch' || (github.event.pull_request.user.login == 'aws-sdk-osds' && github.repository == 'aws-actions/configure-aws-credentials') }}
3637
strategy:
3738
fail-fast: false
3839
matrix:
@@ -57,7 +58,7 @@ jobs:
5758
aws sts get-caller-identity
5859
5960
role_chaining:
60-
if: ${{ github.event.pull_request.user.login == 'aws-sdk-osds' && github.repository == 'aws-actions/configure-aws-credentials' }}
61+
if: ${{ github.event_name == 'workflow_dispatch' || (github.event.pull_request.user.login == 'aws-sdk-osds' && github.repository == 'aws-actions/configure-aws-credentials') }}
6162
permissions:
6263
id-token: write
6364
strategy:
@@ -91,7 +92,7 @@ jobs:
9192
aws sts get-caller-identity
9293
9394
inline_policy:
94-
if: ${{ github.event.pull_request.user.login == 'aws-sdk-osds' && github.repository == 'aws-actions/configure-aws-credentials' }}
95+
if: ${{ github.event_name == 'workflow_dispatch' || (github.event.pull_request.user.login == 'aws-sdk-osds' && github.repository == 'aws-actions/configure-aws-credentials') }}
9596
permissions:
9697
id-token: write
9798
strategy:
@@ -129,7 +130,7 @@ jobs:
129130
run: exit 1
130131

131132
http-proxy:
132-
if: ${{ github.event.pull_request.user.login == 'aws-sdk-osds' && github.repository == 'aws-actions/configure-aws-credentials' }}
133+
if: ${{ github.event_name == 'workflow_dispatch' || (github.event.pull_request.user.login == 'aws-sdk-osds' && github.repository == 'aws-actions/configure-aws-credentials') }}
133134
permissions:
134135
id-token: write
135136
runs-on: ubuntu-latest
@@ -163,7 +164,7 @@ jobs:
163164
run: exit 1
164165

165166
token-file:
166-
if: ${{ github.event.pull_request.user.login == 'aws-sdk-osds' && github.repository == 'aws-actions/configure-aws-credentials' }}
167+
if: ${{ github.event_name == 'workflow_dispatch' || (github.event.pull_request.user.login == 'aws-sdk-osds' && github.repository == 'aws-actions/configure-aws-credentials') }}
167168
permissions:
168169
id-token: write
169170
strategy:

0 commit comments

Comments
 (0)