Skip to content

Commit 6cc5630

Browse files
committed
Merge branch 'main' of https://github.com/craftcms/webhooks into 3.0
2 parents 417d6c6 + f12c410 commit 6cc5630

File tree

2 files changed

+18
-8
lines changed

2 files changed

+18
-8
lines changed

.gitattributes

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
.gitignore export-ignore
66
.travis.yml export-ignore
77
CHANGELOG.md export-ignore
8+
README.md export-ignore
9+
SECURITY.md export-ignore
810
codeception.yml export-ignore
911
composer.lock export-ignore
1012
ecs.php export-ignore
1113
gruntfile.js export-ignore
1214
gulpfile.js export-ignore
13-
package.json export-ignore
1415
package-lock.json export-ignore
15-
README.md export-ignore
16-
SECURITY.md export-ignore
16+
package.json export-ignore
17+
phpstan.neon export-ignore
1718
tests/ export-ignore
1819

1920
# Auto detect text files and perform LF normalization

.github/workflows/ci.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,19 @@ on:
77
- '3.0'
88
pull_request:
99
jobs:
10-
call-workflow:
11-
uses: craftcms/.github/.github/workflows/ci.yml@v1
10+
ecs:
11+
name: ECS
12+
uses: craftcms/.github/.github/workflows/ecs.yml@v1
13+
phpstan:
14+
name: PHPStan
15+
uses: craftcms/.github/.github/workflows/phpstan.yml@v1
16+
notify-slack:
17+
name: Notify Slack
18+
needs: [ ecs, phpstan ]
19+
uses: craftcms/.github/.github/workflows/notify-slack.yml@v1
1220
with:
13-
run_ecs: true
14-
run_phpstan: true
21+
success: ${{ needs.ecs.result == 'success' && needs.phpstan.result == 'success' }}
1522
secrets:
16-
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
23+
token: ${{ secrets.GITHUB_TOKEN }}
24+
slack_webhook_url: ${{ secrets.SLACK_PLUGIN_WEBHOOK_URL }}
25+
slack_group_id: ${{ secrets.SLACK_GROUP_ID }}

0 commit comments

Comments
 (0)