Skip to content

Commit

Permalink
refactor: adding new condition to base workflow template
Browse files Browse the repository at this point in the history
  • Loading branch information
pattishin committed Sep 30, 2023
1 parent 3bdab2c commit f15a454
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ai-platform-snippets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ on:
- cron: '0 0 * * 0'
jobs:
test:
if: github.repository != 'renovate-bot/nodejs-docs-samples' || github.event.action != 'labeled' || github.event.label.name == 'actions:force-run'
if: github.repository != 'renovate-bot/nodejs-docs-samples' && (github.event.action != 'labeled' || github.event.label.name == 'actions:force-run')
runs-on: ubuntu-latest
timeout-minutes: 120
permissions:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/utils/ci-secrets.yaml.njk
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ on:
- cron: '0 0 * * 0'
jobs:
test:
if: github.event.action != 'labeled' || github.event.label.name == 'actions:force-run'
if: github.repository != 'renovate-bot/nodejs-docs-samples' && (github.event.action != 'labeled' || github.event.label.name == 'actions:force-run')
runs-on: ubuntu-latest
timeout-minutes: 120
permissions:
Expand Down

0 comments on commit f15a454

Please sign in to comment.