Skip to content

Commit

Permalink
feat: Updating pull request toolkit config [INTERNAL]
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrunkat authored Jan 24, 2023
1 parent 08eeae1 commit 3fc9f85
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/pr_toolkit.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
name: Apify pull request toolkit
# For more info see: https://github.com/apify/pull-request-toolkit-action/
name: Apify PR toolkit

on:
pull_request:
branches:
- master
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.
group: ${{ github.ref }}
cancel-in-progress: true

jobs:
apify-pr-toolkit:
runs-on: ubuntu-20.04
if: github.event.pull_request.draft == false
steps:
- name: clone pull-request-toolkit-action
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: apify/pull-request-toolkit-action
path: ./.github/actions/pull-request-toolkit-action
Expand All @@ -20,3 +27,4 @@ jobs:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
org-token: ${{ secrets.PULL_REQUEST_TOOLKIT_ACTION_GITHUB_TOKEN }}
zenhub-token: ${{ secrets.PULL_REQUEST_TOOLKIT_ACTION_ZENHUB_TOKEN }}

0 comments on commit 3fc9f85

Please sign in to comment.