-
Notifications
You must be signed in to change notification settings - Fork 120
37 lines (30 loc) · 935 Bytes
/
test-projects.yml
File metadata and controls
37 lines (30 loc) · 935 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# https://help.github.com/en/categories/automating-your-workflow-with-github-actions
name: "Test projects"
on:
push:
branches:
- "2.0.x"
permissions:
contents: read
jobs:
test-projects:
name: "Test projects"
runs-on: "ubuntu-latest"
strategy:
matrix:
repository:
- "phpstan/lorem"
- "phpstan/ipsum"
- "phpstan/dolor"
- "packagist/private-packagist"
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
with:
egress-policy: audit
- uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v4.0.1
with:
token: ${{ secrets.REPO_ACCESS_TOKEN }}
repository: "${{ matrix.repository }}"
event-type: test_phpstan
client-payload: '{"ref": "2.1.x"}'