fix: dont try to get orders if Woo is not active #6382
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request_target: | |
types: [labeled] | |
name: Dependabot auto-merge | |
jobs: | |
auto-merge: | |
name: Auto-merge dependabot PRs for minor and patch updates | |
runs-on: ubuntu-latest | |
if: | | |
contains( github.event.pull_request.labels.*.name, 'dependencies' ) | |
&& ! contains( github.event.pull_request.labels.*.name, '[Status] Approved' ) | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ahmadnassri/action-dependabot-auto-merge@v2 | |
with: | |
target: minor # includes patch updates. | |
github-token: ${{ secrets.DEPENDABOT_TOKEN }} |