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.
This commit is contained in:
per1234 2021-08-15 02:28:40 -07:00
parent b9c777a5c3
commit 289f07f187

View File

@ -2,6 +2,12 @@ name: Check Certificates
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows # See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
on: on:
push:
paths:
- ".github/workflows/check-certificates.ya?ml"
pull_request:
paths:
- ".github/workflows/check-certificates.ya?ml"
schedule: schedule:
# run every 10 hours # run every 10 hours
- cron: "0 */10 * * *" - cron: "0 */10 * * *"