Skip to content

Commit e49cbba

Browse files
committed
[CI] Aligned secrets
1 parent 6787763 commit e49cbba

File tree

3 files changed

+33
-9
lines changed

3 files changed

+33
-9
lines changed

.github/workflows/browser-tests.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ jobs:
1717
test-setup-phase-1: '--mode=standard --profile=httpCache --suite=setup-symfony-cache'
1818
test-setup-phase-2: '--mode=standard --profile=httpCache --suite=setup'
1919
secrets:
20+
AUTOMATION_CLIENT_ID: ${{ secrets.AUTOMATION_CLIENT_ID }}
21+
AUTOMATION_CLIENT_INSTALLATION: ${{ secrets.AUTOMATION_CLIENT_INSTALLATION }}
22+
AUTOMATION_CLIENT_SECRET: ${{ secrets.AUTOMATION_CLIENT_SECRET }}
2023
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
2124
varnish6:
2225
name: "Varnish 6 integration tests"
@@ -27,6 +30,9 @@ jobs:
2730
test-suite: '--mode=standard --profile=httpCache --suite=varnish6'
2831
test-setup-phase-1: '--mode=standard --profile=httpCache --suite=setup'
2932
secrets:
33+
AUTOMATION_CLIENT_ID: ${{ secrets.AUTOMATION_CLIENT_ID }}
34+
AUTOMATION_CLIENT_INSTALLATION: ${{ secrets.AUTOMATION_CLIENT_INSTALLATION }}
35+
AUTOMATION_CLIENT_SECRET: ${{ secrets.AUTOMATION_CLIENT_SECRET }}
3036
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
3137
varnish7:
3238
name: "Varnish 7 integration tests"
@@ -37,6 +43,9 @@ jobs:
3743
test-suite: '--mode=standard --profile=httpCache --suite=varnish7'
3844
test-setup-phase-1: '--mode=standard --profile=httpCache --suite=setup'
3945
secrets:
46+
AUTOMATION_CLIENT_ID: ${{ secrets.AUTOMATION_CLIENT_ID }}
47+
AUTOMATION_CLIENT_INSTALLATION: ${{ secrets.AUTOMATION_CLIENT_INSTALLATION }}
48+
AUTOMATION_CLIENT_SECRET: ${{ secrets.AUTOMATION_CLIENT_SECRET }}
4049
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
4150
varnish6-translation-aware:
4251
name: "Varnish integration tests (translation-aware)"
@@ -48,6 +57,9 @@ jobs:
4857
test-setup-phase-1: '--mode=standard --profile=httpCache --suite=setup-translation-aware'
4958
test-setup-phase-2: '--mode=standard --profile=httpCache --suite=setup'
5059
secrets:
60+
AUTOMATION_CLIENT_ID: ${{ secrets.AUTOMATION_CLIENT_ID }}
61+
AUTOMATION_CLIENT_INSTALLATION: ${{ secrets.AUTOMATION_CLIENT_INSTALLATION }}
62+
AUTOMATION_CLIENT_SECRET: ${{ secrets.AUTOMATION_CLIENT_SECRET }}
5163
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
5264
varnish7-translation-aware:
5365
name: "Varnish 7 integration tests (translation-aware)"
@@ -59,6 +71,9 @@ jobs:
5971
test-setup-phase-1: '--mode=standard --profile=httpCache --suite=setup-translation-aware'
6072
test-setup-phase-2: '--mode=standard --profile=httpCache --suite=setup'
6173
secrets:
74+
AUTOMATION_CLIENT_ID: ${{ secrets.AUTOMATION_CLIENT_ID }}
75+
AUTOMATION_CLIENT_INSTALLATION: ${{ secrets.AUTOMATION_CLIENT_INSTALLATION }}
76+
AUTOMATION_CLIENT_SECRET: ${{ secrets.AUTOMATION_CLIENT_SECRET }}
6277
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
6378
varnish6-token:
6479
name: "Varnish 6 integration tests with invalidate token"
@@ -70,6 +85,9 @@ jobs:
7085
test-setup-phase-1: '--mode=standard --profile=httpCache --suite=setup-token'
7186
test-setup-phase-2: '--mode=standard --profile=httpCache --suite=setup'
7287
secrets:
88+
AUTOMATION_CLIENT_ID: ${{ secrets.AUTOMATION_CLIENT_ID }}
89+
AUTOMATION_CLIENT_INSTALLATION: ${{ secrets.AUTOMATION_CLIENT_INSTALLATION }}
90+
AUTOMATION_CLIENT_SECRET: ${{ secrets.AUTOMATION_CLIENT_SECRET }}
7391
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
7492
varnish7-token:
7593
name: "Varnish 7 integration tests with invalidate token"
@@ -81,4 +99,7 @@ jobs:
8199
test-setup-phase-1: '--mode=standard --profile=httpCache --suite=setup-token'
82100
test-setup-phase-2: '--mode=standard --profile=httpCache --suite=setup'
83101
secrets:
102+
AUTOMATION_CLIENT_ID: ${{ secrets.AUTOMATION_CLIENT_ID }}
103+
AUTOMATION_CLIENT_INSTALLATION: ${{ secrets.AUTOMATION_CLIENT_INSTALLATION }}
104+
AUTOMATION_CLIENT_SECRET: ${{ secrets.AUTOMATION_CLIENT_SECRET }}
84105
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

.github/workflows/ci.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
php:
1717
- '8.1'
1818
steps:
19-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v5
2020

2121
- name: Setup PHP Action
2222
uses: shivammathur/setup-php@v2
@@ -26,9 +26,9 @@ jobs:
2626
extensions: 'pdo_sqlite, gd'
2727
tools: cs2pr
2828

29-
- uses: "ramsey/composer-install@v1"
29+
- uses: ramsey/composer-install@v3
3030
with:
31-
dependency-versions: "highest"
31+
dependency-versions: highest
3232

3333
- name: Run code style check
3434
run: composer run-script check-cs -- --format=checkstyle | cs2pr
@@ -42,7 +42,7 @@ jobs:
4242
- '7.4'
4343
- '8.3'
4444
steps:
45-
- uses: actions/checkout@v4
45+
- uses: actions/checkout@v5
4646

4747
- name: Setup PHP Action
4848
uses: shivammathur/setup-php@v2
@@ -52,9 +52,9 @@ jobs:
5252
extensions: 'pdo_sqlite, gd'
5353
tools: cs2pr
5454

55-
- uses: "ramsey/composer-install@v3"
55+
- uses: ramsey/composer-install@v3
5656
with:
57-
dependency-versions: "highest"
57+
dependency-versions: highest
5858

5959
- name: Run PHPStan analysis
6060
run: composer run-script phpstan
@@ -76,7 +76,7 @@ jobs:
7676
composer_options: "--ignore-platform-req php"
7777

7878
steps:
79-
- uses: actions/checkout@v2
79+
- uses: actions/checkout@v5
8080

8181
- name: Setup PHP Action
8282
uses: shivammathur/setup-php@v2
@@ -86,9 +86,9 @@ jobs:
8686
extensions: pdo_sqlite, gd
8787
tools: cs2pr
8888

89-
- uses: "ramsey/composer-install@v1"
89+
- uses: ramsey/composer-install@v3
9090
with:
91-
dependency-versions: "highest"
91+
dependency-versions: highest
9292
composer-options: "${{ matrix.composer_options }}"
9393

9494
- name: Setup problem matchers for PHPUnit

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,8 @@
7272
"branch-alias": {
7373
"dev-main": "4.6.x-dev"
7474
}
75+
},
76+
"config": {
77+
"allow-plugins": false
7578
}
7679
}

0 commit comments

Comments
 (0)