-
Notifications
You must be signed in to change notification settings - Fork 3
58 lines (50 loc) · 1.7 KB
/
on-merge.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: CI
on:
push:
branches: [ main ]
jobs:
Lint:
uses: ./.github/workflows/call-lint.yml
secrets:
IMPACTED_BY_SHA: ${{ github.event.before }}
Build:
uses: ./.github/workflows/call-build.yml
secrets:
IMPACTED_BY_SHA: ${{ github.event.before }}
Test:
uses: ./.github/workflows/call-test.yml
secrets:
IMPACTED_BY_SHA: ${{ github.event.before }}
IaC:
uses: ./.github/workflows/call-cdk-synth.yml
secrets:
IMPACTED_BY_SHA: ${{ github.event.before }}
Coverage:
uses: ./.github/workflows/call-coverage.yml
secrets:
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
IMPACTED_BY_SHA: ${{ github.event.before }}
Deploy:
uses: ./.github/workflows/call-deploy.yml
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_BUCKET: ${{ secrets.AWS_BUCKET }}
AWS_REGION: ${{ secrets.AWS_REGION }}
# slack-notification:
# name: "Slack Notification"
# runs-on: ubuntu-latest
# if: always()
# needs:
# - docker-hub
# steps:
# - name: Send message to Slack API
# uses: archive/[email protected]
# with:
# slack-bot-user-oauth-access-token: ${{ secrets.SLACK_BOT_USER_OAUTH_ACCESS_TOKEN }}
# slack-channel: ${{ secrets.SLACK_CHANNEL_ID }}
# slack-text: |
# Event "${{ github.event_name }}" in "${{ github.repository }}" by @${{ github.actor }}
# Commit ${{ github.sha }}
# ${{ needs.composer-validate.result == 'success' && ':white_check_mark:' || ':no_entry_sign:' }} Composer Validate.