From 6de6adabd20d669058dbc62224ae8f75471e57aa Mon Sep 17 00:00:00 2001 From: fewensa Date: Mon, 29 Jul 2024 02:22:33 +0000 Subject: [PATCH] Fix env --- .github/workflows/check-ansible.yml | 3 --- .github/workflows/monitor.yml | 5 +++++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check-ansible.yml b/.github/workflows/check-ansible.yml index 02d8ad0..a9abb95 100644 --- a/.github/workflows/check-ansible.yml +++ b/.github/workflows/check-ansible.yml @@ -4,9 +4,6 @@ on: pull_request: branches: [main] -env: - SLACK_INCOMING_WEBHOOK_URL: ${{ secrets.SLACK_INCOMING_WEBHOOK_URL }} - jobs: deploy-essentials: name: Deploy essentials diff --git a/.github/workflows/monitor.yml b/.github/workflows/monitor.yml index 7666d50..3effa76 100644 --- a/.github/workflows/monitor.yml +++ b/.github/workflows/monitor.yml @@ -4,6 +4,11 @@ on: schedule: - cron: "0 */2 * * *" workflow_dispatch: + pull_request: + branches: [main] + +env: + SLACK_INCOMING_WEBHOOK_URL: ${{ secrets.SLACK_INCOMING_WEBHOOK_URL }} jobs: monitor: