Skip to content

Commit

Permalink
chore: Trying to fix PR toolkit (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrunkat authored Aug 4, 2023
1 parent b8d9202 commit 0a8e9f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions required_workflows/pull_request_toolkit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Apify pull request toolkit

on:
pull_request:
branches: [ $default-branch ] # Run only on PRs to default branch (i.e., develop), not on releases and PR chains
types: ['opened', 'reopened', 'synchronize', 'labeled', 'unlabeled', 'edited', 'ready_for_review'] # The first 3 are default.

concurrency: # This is to make sure that it's executed only for the most recent changes of PR.
Expand All @@ -11,8 +12,7 @@ concurrency: # This is to make sure that it's executed only for the most recent

jobs:
apify-pr-toolkit:
# Run this workflow only on non-draft PRs and on PRs to default branch (i.e., develop), not on releases and PR chains
if: github.event.pull_request.draft == false && github.ref == github.event.repository.default_branch
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- name: run pull-request-toolkit action
Expand Down

0 comments on commit 0a8e9f9

Please sign in to comment.