diff --git a/.github/workflows/notify-ci-failure.yml b/.github/workflows/notify-ci-failure.yml new file mode 100644 index 000000000..06f9e2430 --- /dev/null +++ b/.github/workflows/notify-ci-failure.yml @@ -0,0 +1,12 @@ +name: Notify CI Failure on Main + +on: + workflow_run: + workflows: ['Lint, Test, Coverage and Deploy'] + types: [completed] + branches: [main] + +jobs: + check-and-notify: + uses: 'ForestAdmin/github-workflows/.github/workflows/notify-ci-failure.yml@main' + secrets: inherit diff --git a/.github/workflows/vulnerability-scan.yml b/.github/workflows/vulnerability-scan.yml new file mode 100644 index 000000000..a73def890 --- /dev/null +++ b/.github/workflows/vulnerability-scan.yml @@ -0,0 +1,13 @@ +name: Vulnerability Scan and Slack Notification + +on: + schedule: + # Run every friday at 9 AM UTC + - cron: '0 9 * * 5' + workflow_dispatch: + +jobs: + vulnerability-scan: + name: Scan and Send Slack notification + uses: 'ForestAdmin/github-workflows/.github/workflows/vulnerability-scan.yml@main' + secrets: inherit