Skip to content

Commit c4a2452

Browse files
authored
Merge pull request #200 from PHPCSStandards/ci/composer-auth
Add COMPOSER_AUTH env variable to workflows
2 parents 026a90d + fdae151 commit c4a2452

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

.github/workflows/integrationtest.yml

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
# Allow manually triggering the workflow.
1111
workflow_dispatch:
1212

13+
env:
14+
COMPOSER_AUTH: '{"github-oauth": {"github.com": "${{ secrets.GITHUB_TOKEN }}"}}'
15+
1316
# Cancels all previous workflow runs for the same branch that have not yet completed.
1417
concurrency:
1518
# The concurrency group contains the workflow name and the branch name.

.github/workflows/phplint.yml

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
# Allow manually triggering the workflow.
88
- workflow_dispatch
99

10+
env:
11+
COMPOSER_AUTH: '{"github-oauth": {"github.com": "${{ secrets.GITHUB_TOKEN }}"}}'
12+
1013
# Cancels all previous workflow runs for the same branch that have not yet completed.
1114
concurrency:
1215
# The concurrency group contains the workflow name and the branch name.

.github/workflows/quicktest.yml

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
# Allow manually triggering the workflow.
1010
workflow_dispatch:
1111

12+
env:
13+
COMPOSER_AUTH: '{"github-oauth": {"github.com": "${{ secrets.GITHUB_TOKEN }}"}}'
14+
1215
# Cancels all previous workflow runs for the same branch that have not yet completed.
1316
concurrency:
1417
# The concurrency group contains the workflow name and the branch name.

.github/workflows/securitycheck.yml

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
# Allow manually triggering the workflow.
88
- workflow_dispatch
99

10+
env:
11+
COMPOSER_AUTH: '{"github-oauth": {"github.com": "${{ secrets.GITHUB_TOKEN }}"}}'
12+
1013
# Cancels all previous workflow runs for the same branch that have not yet completed.
1114
concurrency:
1215
# The concurrency group contains the workflow name and the branch name.

0 commit comments

Comments
 (0)