Generate TPCH S3 files on demand #602
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
name: PR SQL Benchmarks | |
on: | |
pull_request: | |
types: [ labeled, synchronize ] | |
branches: [ "develop" ] | |
workflow_dispatch: { } | |
permissions: | |
actions: write | |
contents: read | |
pull-requests: write | |
id-token: write | |
jobs: | |
label_trigger: | |
runs-on: ubuntu-latest | |
if: ${{ contains(github.event.head_commit.message, '[benchmark-sql]') || github.event.label.name == 'benchmark-sql' && github.event_name == 'pull_request' }} | |
steps: | |
# We remove the benchmark label first so that the workflow can be re-triggered. | |
- uses: actions-ecosystem/action-remove-labels@v1 | |
with: | |
labels: benchmark-sql | |
sql: | |
needs: label_trigger | |
uses: ./.github/workflows/sql-benchmarks.yml | |
secrets: inherit | |
with: | |
mode: 'pr' |