Skip to content

Commit 5ee7113

Browse files
ci(*): Add some restriction for github actions
1 parent 9e09bd1 commit 5ee7113

File tree

4 files changed

+5
-66
lines changed

4 files changed

+5
-66
lines changed

.github/workflows/deploy-assets.yml

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

.github/workflows/deploy.yml

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

.github/workflows/end-to-end-test-suite.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: End-to-end test suite
22
on:
33
push:
4+
branches:
5+
- main
46
paths-ignore:
57
- '**.md'
68
pull_request:
@@ -32,6 +34,7 @@ jobs:
3234

3335
name: End-to-end test suite
3436
runs-on: ubuntu-latest
37+
if: ${{ !contains(github.event.head_commit.message, 'chore(') }}
3538

3639
env:
3740
EXTENSION_NAME: "CrowdSec_Bouncer"

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Deploy and Create Release
22
# example: gh workflow run release.yml -f tag_name=v1.1.4 -f deploy_to_wordpress=true
33
on:
44
workflow_dispatch:
5+
branches:
6+
- main
57
inputs:
68
tag_name:
79
type: string

0 commit comments

Comments
 (0)