Skip to content

Commit fa6b1e6

Browse files
authored
Merge pull request #1 from crowdsecurity/current-features
Base implementation
2 parents a3f498b + e6fa787 commit fa6b1e6

24 files changed

+1161
-544
lines changed

.github/workflows/build_package.yml

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
1-
name: build-package
1+
# name: package-plugin
22

3-
on:
4-
release:
5-
types: prereleased
3+
# on:
4+
# release:
5+
# types: released
66

7-
jobs:
7+
# jobs:
88

9-
build-package:
10-
name: Create and upload package
11-
runs-on: ubuntu-latest
12-
steps:
13-
- uses: actions/checkout@v1
14-
- name: Create zip package
15-
run: zip -r "cs-wordpress-blocker.zip" . -x "./tests/**" -x ".git/**" -x "./github/**"
16-
- name: Upload to release
17-
uses: JasonEtco/upload-to-release@master
18-
with:
19-
args: cs-wordpress-blocker.zip application/zip
20-
env:
21-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9+
# build-package:
10+
# name: Create and upload package
11+
# runs-on: ubuntu-latest
12+
# steps:
13+
# - uses: actions/checkout@v1
14+
# # TODO P2 composer --no-dev
15+
# - name: Create zip package
16+
# run: zip -r "cs-wordpress-bouncer.zip" . -x "./.github/**" -x "./docker/**" -x "./docs/**"
17+
# - name: Upload to release
18+
# uses: JasonEtco/upload-to-release@master
19+
# with:
20+
# args: cs-wordpress-bouncer.zip application/zip
21+
# env:
22+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

composer.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,15 @@
99
}
1010
],
1111
"require": {
12-
"crowdsec/bouncer": "^0.4.1",
13-
"gregwar/captcha": "^1.1"
12+
"crowdsec/bouncer": "^0.4.3"
13+
},
14+
"require-dev": {
15+
"bramus/monolog-colored-line-formatter": "^3.0",
16+
"symfony/var-dumper": "^5.2"
1417
},
1518
"autoload": {
1619
"psr-4": {
17-
"": "./"
20+
"\\": "./"
1821
}
1922
}
2023
}

0 commit comments

Comments
 (0)