Skip to content

Commit a6a1928

Browse files
ci(*): Update workflows
1 parent f082ed4 commit a6a1928

File tree

7 files changed

+11
-41
lines changed

7 files changed

+11
-41
lines changed

.githooks/commit-msg

Lines changed: 0 additions & 22 deletions
This file was deleted.

.github/workflows/coding-standards.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
ddev php -r "echo phpversion('memcached');"
7272
7373
- name: Clone PHP lib Crowdsec files
74-
uses: actions/checkout@v4
74+
uses: actions/checkout@v5
7575
with:
7676
path: my-code/standalone-bouncer
7777

.github/workflows/doc-links.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
steps:
1616

1717
- name: Clone sources
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v5
1919
with:
2020
path: extension
2121

.github/workflows/php-sdk-development-tests.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ jobs:
9090

9191
name: Test suite
9292
runs-on: ubuntu-latest
93-
if: ${{ !contains(github.event.head_commit.message, 'chore(') }}
9493
env:
9594
EXTENSION_PATH: "my-code/standalone-bouncer"
9695
BOUNCER_LIB_PATH: "my-code/php-bouncer-lib"
@@ -197,48 +196,48 @@ jobs:
197196
198197
- name: Clone standalone bouncer files
199198
if: inputs.is_call != true
200-
uses: actions/checkout@v4
199+
uses: actions/checkout@v5
201200
with:
202201
path: ${{env.EXTENSION_PATH}}
203202

204203
- name: Clone Standalone bouncer files
205204
if: inputs.is_call == true
206-
uses: actions/checkout@v4
205+
uses: actions/checkout@v5
207206
with:
208207
repository: ${{ env.STANDALONE_BOUNCER_REPO }}
209208
path: ${{env.EXTENSION_PATH}}
210209
ref: "main"
211210

212211
- name: Clone PHP common files
213-
uses: actions/checkout@v4
212+
uses: actions/checkout@v5
214213
with:
215214
repository: ${{ steps.set-common-data.outputs.repo}}
216215
ref: ${{ steps.set-common-data.outputs.branch }}
217216
path: ${{env.PHP_COMMON_PATH}}
218217

219218
- name: Clone PHP LAPI client
220-
uses: actions/checkout@v4
219+
uses: actions/checkout@v5
221220
with:
222221
repository: ${{ steps.set-lapi-client-data.outputs.repo }}
223222
ref: ${{ steps.set-lapi-client-data.outputs.branch }}
224223
path: ${{env.LAPI_CLIENT_PATH}}
225224

226225
- name: Clone PHP CAPI client
227-
uses: actions/checkout@v4
226+
uses: actions/checkout@v5
228227
with:
229228
repository: ${{ steps.set-capi-client-data.outputs.repo }}
230229
ref: ${{ steps.set-capi-client-data.outputs.branch }}
231230
path: ${{env.CAPI_CLIENT_PATH}}
232231

233232
- name: Clone PHP remediation engine
234-
uses: actions/checkout@v4
233+
uses: actions/checkout@v5
235234
with:
236235
repository: ${{ steps.set-remediation-engine-data.outputs.repo }}
237236
ref: ${{ steps.set-remediation-engine-data.outputs.branch }}
238237
path: ${{env.REMEDIATION_ENGINE_PATH}}
239238

240239
- name: Clone PHP bouncer lib
241-
uses: actions/checkout@v4
240+
uses: actions/checkout@v5
242241
with:
243242
repository: ${{ steps.set-bouncer-lib-data.outputs.repo }}
244243
ref: ${{ steps.set-bouncer-lib-data.outputs.branch }}

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
echo "VERSION_NUMBER=$(echo ${{ github.event.inputs.tag_name }} | sed 's/v//g' )" >> $GITHUB_ENV
2828
2929
- name: Clone sources
30-
uses: actions/checkout@v4
30+
uses: actions/checkout@v5
3131

3232
- name: Check version ${{ env.VERSION_NUMBER }} consistency in files
3333
# Check src/Constants.php and CHANGELOG.md

.github/workflows/test-suite.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
ddev php -r "echo phpversion('memcached');"
7979
8080
- name: Clone standalone bouncer files
81-
uses: actions/checkout@v4
81+
uses: actions/checkout@v5
8282
with:
8383
path: my-code/standalone-bouncer
8484

docs/DEVELOPER.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -660,13 +660,6 @@ Example:
660660
feat(admin): Add css for admin actions
661661

662662

663-
You can use the `commit-msg` git hook that you will find in the `.githooks` folder:
664-
665-
```
666-
cp .githooks/commit-msg .git/hooks/commit-msg
667-
chmod +x .git/hooks/commit-msg
668-
```
669-
670663
### Allowed message `type` values
671664

672665
- chore (automatic tasks; no production code change)

0 commit comments

Comments
 (0)