kelektiv / node-cron

Cron for NodeJS.
MIT License
8.31k stars 617 forks source link

ci(action): prevent duplicate checks on Renovate PRs #784

Closed sheerlox closed 7 months ago

sheerlox commented 7 months ago

Description

Skip the push event if the workflow detects an open PR for the current commit and the branch it belongs to starts with renovate/. Example skipped push workflow run

Related Issue

Motivation and Context

Following the changes in #750, the push event on renovate/** branches and the pull_request event both trigger on Renovate PRs. Example PR with duplicate checks

How Has This Been Tested?

The same mechanism is used in import-from-esm's test workflow.

ncb000gt commented 3 months ago

:tada: This PR is included in version 3.1.7 :tada:

The release is available on:

Your semantic-release bot :package::rocket: