From 86478a1adfa113f52396f5f4eb67f9d145c1314d Mon Sep 17 00:00:00 2001 From: ccrayz Date: Thu, 21 Mar 2024 14:22:51 +0900 Subject: [PATCH] ci: change lint link trigger change lint link so that it can also be triggered on pull requests --- .github/workflows/lint-links.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint-links.yml b/.github/workflows/lint-links.yml index d5349d7..0cb562c 100644 --- a/.github/workflows/lint-links.yml +++ b/.github/workflows/lint-links.yml @@ -1,6 +1,9 @@ name: Lint Links on: + pull_request: + paths: + - "specs/**" schedule: - cron: "0 0 * * *" jobs: @@ -20,4 +23,4 @@ jobs: fields: repo,commit,author,action env: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} - if: failure() + if: failure() && github.event_name == 'schedule'