From 289f07f18732311c4da451b4b9d749074c55049c Mon Sep 17 00:00:00 2001 From: per1234 Date: Sun, 15 Aug 2021 02:28:40 -0700 Subject: [PATCH] Run "Check Certificates" workflow on modification This will facilitate testing and review of modifications to the workflow. Because the workflow requires access to repository secrets, and so will fail whenever triggered by an event from a fork, a conditional is added to make it only run when the modifications are made within the `arduino/arduino-ide` repository. --- .github/workflows/check-certificates.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/check-certificates.yml b/.github/workflows/check-certificates.yml index 95bab07f..b0d404f6 100644 --- a/.github/workflows/check-certificates.yml +++ b/.github/workflows/check-certificates.yml @@ -2,6 +2,12 @@ name: Check Certificates # See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows on: + push: + paths: + - ".github/workflows/check-certificates.ya?ml" + pull_request: + paths: + - ".github/workflows/check-certificates.ya?ml" schedule: # run every 10 hours - cron: "0 */10 * * *"