Skip to content

feat: add zstd request body compression #291

feat: add zstd request body compression

feat: add zstd request body compression #291

name: Apify Pull Request Toolkit
on:
# Gives fork runs the secrets to close their issues on merge; safe since no pull request code is checked out.
pull_request_target:
# Required workflows from repository rulesets can only run on the default trigger events.
# 'labeled', 'unlabeled', 'edited', 'ready_for_review', 'closed' cannot be handled by this workflow,
# so instead we'll listen to them by webhooks and rerun this workflow when necessary.
types: ['opened', 'reopened', 'synchronize']
# The action uses only the org token, so `GITHUB_TOKEN` (writable under `pull_request_target`) gets no permissions.
permissions: {}
concurrency: # This is to make sure that it's executed only for the most recent changes of the pull request.
# Keyed by pull request, since `github.ref` is the base branch under `pull_request_target`.
group: pull-request-toolkit-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
apify-pull-request-toolkit:
# This is to make sure that this workflow is only run when the action is used from a different repository.
# The workflow that tests the action against itself is in test_action.yaml.
if: github.repository != 'apify/pull-request-toolkit-action'
runs-on: ubuntu-22.04-arm64
steps:
- name: Apify Pull Request Toolkit
uses: apify/pull-request-toolkit-action@main
with:
org-github-token: ${{ secrets.PULL_REQUEST_TOOLKIT_ACTION_GITHUB_TOKEN }}
apify-api-token: ${{ secrets.ACTOR_GITHUB_CONTROLLER_APIFY_API_TOKEN }}