99 schedule :
1010 - cron : ' 0 0 * * *'
1111
12+ permissions :
13+ contents : read
14+
1215jobs :
1316 tests :
1417 runs-on : ubuntu-22.04
@@ -45,10 +48,12 @@ jobs:
4548
4649 steps :
4750 - name : Checkout code
48- uses : actions/checkout@v4
51+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
52+ with :
53+ persist-credentials : false
4954
5055 - name : Setup PHP
51- uses : shivammathur/setup-php@v2
56+ uses : shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2
5257 with :
5358 php-version : ${{ matrix.php }}
5459 extensions : dom, curl, libxml, mbstring, zip
@@ -84,10 +89,12 @@ jobs:
8489
8590 steps :
8691 - name : Checkout code
87- uses : actions/checkout@v4
92+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
93+ with :
94+ persist-credentials : false
8895
8996 - name : Setup PHP
90- uses : shivammathur/setup-php@v2
97+ uses : shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2
9198 with :
9299 php-version : ${{ matrix.php }}
93100 extensions : dom, curl, libxml, mbstring, zip
@@ -118,10 +125,12 @@ jobs:
118125
119126 steps :
120127 - name : Checkout code
121- uses : actions/checkout@v4
128+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
129+ with :
130+ persist-credentials : false
122131
123132 - name : Start Typesense
124- uses : jirevwe/typesense-github-action@v1.0.1
133+ uses : jirevwe/typesense-github-action@ef4ba079d744a24d2384ca7d973688340ae98b4c # v1.0.1
125134 with :
126135 typesense-version : 30.1
127136 typesense-api-key : masterKey
@@ -130,7 +139,7 @@ jobs:
130139 run : sleep 10 && curl http://localhost:8108/health
131140
132141 - name : Setup PHP
133- uses : shivammathur/setup-php@v2
142+ uses : shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2
134143 with :
135144 php-version : ${{ matrix.php }}
136145 extensions : dom, curl, libxml, mbstring, zip
0 commit comments