File tree Expand file tree Collapse file tree 3 files changed +78
-0
lines changed
Expand file tree Collapse file tree 3 files changed +78
-0
lines changed Original file line number Diff line number Diff line change @@ -2,12 +2,43 @@ name: AfterAll-ModuleLocal
22
33on :
44 workflow_call :
5+ secrets :
6+ TEST_APP_ENT_CLIENT_ID :
7+ description : The client ID of an Enterprise GitHub App for running tests.
8+ required : false
9+ TEST_APP_ENT_PRIVATE_KEY :
10+ description : The private key of an Enterprise GitHub App for running tests.
11+ required : false
12+ TEST_APP_ORG_CLIENT_ID :
13+ description : The client ID of an Organization GitHub App for running tests.
14+ required : false
15+ TEST_APP_ORG_PRIVATE_KEY :
16+ description : The private key of an Organization GitHub App for running tests.
17+ required : false
18+ TEST_USER_ORG_FG_PAT :
19+ description : The fine-grained personal access token with org access for running tests.
20+ required : false
21+ TEST_USER_USER_FG_PAT :
22+ description : The fine-grained personal access token with user account access for running tests.
23+ required : false
24+ TEST_USER_PAT :
25+ description : The classic personal access token for running tests.
26+ required : false
527 inputs :
628 Settings :
729 type : string
830 description : The complete settings object including test suites.
931 required : true
1032
33+ env :
34+ TEST_APP_ENT_CLIENT_ID : ${{ secrets.TEST_APP_ENT_CLIENT_ID }}
35+ TEST_APP_ENT_PRIVATE_KEY : ${{ secrets.TEST_APP_ENT_PRIVATE_KEY }}
36+ TEST_APP_ORG_CLIENT_ID : ${{ secrets.TEST_APP_ORG_CLIENT_ID }}
37+ TEST_APP_ORG_PRIVATE_KEY : ${{ secrets.TEST_APP_ORG_PRIVATE_KEY }}
38+ TEST_USER_ORG_FG_PAT : ${{ secrets.TEST_USER_ORG_FG_PAT }}
39+ TEST_USER_USER_FG_PAT : ${{ secrets.TEST_USER_USER_FG_PAT }}
40+ TEST_USER_PAT : ${{ secrets.TEST_USER_PAT }}
41+
1142permissions :
1243 contents : read # to checkout the repo
1344
Original file line number Diff line number Diff line change @@ -2,12 +2,43 @@ name: BeforeAll-ModuleLocal
22
33on :
44 workflow_call :
5+ secrets :
6+ TEST_APP_ENT_CLIENT_ID :
7+ description : The client ID of an Enterprise GitHub App for running tests.
8+ required : false
9+ TEST_APP_ENT_PRIVATE_KEY :
10+ description : The private key of an Enterprise GitHub App for running tests.
11+ required : false
12+ TEST_APP_ORG_CLIENT_ID :
13+ description : The client ID of an Organization GitHub App for running tests.
14+ required : false
15+ TEST_APP_ORG_PRIVATE_KEY :
16+ description : The private key of an Organization GitHub App for running tests.
17+ required : false
18+ TEST_USER_ORG_FG_PAT :
19+ description : The fine-grained personal access token with org access for running tests.
20+ required : false
21+ TEST_USER_USER_FG_PAT :
22+ description : The fine-grained personal access token with user account access for running tests.
23+ required : false
24+ TEST_USER_PAT :
25+ description : The classic personal access token for running tests.
26+ required : false
527 inputs :
628 Settings :
729 type : string
830 description : The complete settings object including test suites.
931 required : true
1032
33+ env :
34+ TEST_APP_ENT_CLIENT_ID : ${{ secrets.TEST_APP_ENT_CLIENT_ID }}
35+ TEST_APP_ENT_PRIVATE_KEY : ${{ secrets.TEST_APP_ENT_PRIVATE_KEY }}
36+ TEST_APP_ORG_CLIENT_ID : ${{ secrets.TEST_APP_ORG_CLIENT_ID }}
37+ TEST_APP_ORG_PRIVATE_KEY : ${{ secrets.TEST_APP_ORG_PRIVATE_KEY }}
38+ TEST_USER_ORG_FG_PAT : ${{ secrets.TEST_USER_ORG_FG_PAT }}
39+ TEST_USER_USER_FG_PAT : ${{ secrets.TEST_USER_USER_FG_PAT }}
40+ TEST_USER_PAT : ${{ secrets.TEST_USER_PAT }}
41+
1142permissions :
1243 contents : read # to checkout the repo
1344
Original file line number Diff line number Diff line change @@ -157,6 +157,14 @@ jobs:
157157 BeforeAll-ModuleLocal :
158158 if : fromJson(needs.Get-Settings.outputs.Settings).Run.BeforeAllModuleLocal && needs.Build-Module.result == 'success' && !cancelled()
159159 uses : ./.github/workflows/BeforeAll-ModuleLocal.yml
160+ secrets :
161+ TEST_APP_ENT_CLIENT_ID : ${{ secrets.TEST_APP_ENT_CLIENT_ID }}
162+ TEST_APP_ENT_PRIVATE_KEY : ${{ secrets.TEST_APP_ENT_PRIVATE_KEY }}
163+ TEST_APP_ORG_CLIENT_ID : ${{ secrets.TEST_APP_ORG_CLIENT_ID }}
164+ TEST_APP_ORG_PRIVATE_KEY : ${{ secrets.TEST_APP_ORG_PRIVATE_KEY }}
165+ TEST_USER_ORG_FG_PAT : ${{ secrets.TEST_USER_ORG_FG_PAT }}
166+ TEST_USER_USER_FG_PAT : ${{ secrets.TEST_USER_USER_FG_PAT }}
167+ TEST_USER_PAT : ${{ secrets.TEST_USER_PAT }}
160168 needs :
161169 - Build-Module
162170 - Get-Settings
@@ -187,6 +195,14 @@ jobs:
187195 AfterAll-ModuleLocal :
188196 if : fromJson(needs.Get-Settings.outputs.Settings).Run.AfterAllModuleLocal && needs.Test-ModuleLocal.result != 'skipped' && always()
189197 uses : ./.github/workflows/AfterAll-ModuleLocal.yml
198+ secrets :
199+ TEST_APP_ENT_CLIENT_ID : ${{ secrets.TEST_APP_ENT_CLIENT_ID }}
200+ TEST_APP_ENT_PRIVATE_KEY : ${{ secrets.TEST_APP_ENT_PRIVATE_KEY }}
201+ TEST_APP_ORG_CLIENT_ID : ${{ secrets.TEST_APP_ORG_CLIENT_ID }}
202+ TEST_APP_ORG_PRIVATE_KEY : ${{ secrets.TEST_APP_ORG_PRIVATE_KEY }}
203+ TEST_USER_ORG_FG_PAT : ${{ secrets.TEST_USER_ORG_FG_PAT }}
204+ TEST_USER_USER_FG_PAT : ${{ secrets.TEST_USER_USER_FG_PAT }}
205+ TEST_USER_PAT : ${{ secrets.TEST_USER_PAT }}
190206 needs :
191207 - Get-Settings
192208 - Test-ModuleLocal
You can’t perform that action at this time.
0 commit comments