docs: upgrade docs build tooling #808
This file contains hidden or 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: dlt | fork tests with secrets | |
| on: | |
| pull_request_target: | |
| branches: [devel] | |
| types: [labeled, synchronize] | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| authorize: | |
| name: authorize fork run (requires reviewer approval) | |
| if: >- | |
| github.event.pull_request.head.repo.full_name != github.repository | |
| && contains(github.event.pull_request.labels.*.name, 'ci from fork') | |
| runs-on: ubuntu-latest | |
| environment: fork-ci | |
| steps: | |
| - run: echo "Fork PR authorized — running secret-requiring tests against ${{ github.event.pull_request.head.sha }}" | |
| test_destinations_remote: | |
| name: remote | |
| needs: [authorize] | |
| uses: ./.github/workflows/test_destinations_remote.yml | |
| secrets: inherit | |
| with: | |
| run_full_test_suite: ${{ contains(github.event.pull_request.labels.*.name, 'ci full') }} | |
| test_tools_dbt_runner: | |
| name: dbt | |
| needs: [authorize] | |
| uses: ./.github/workflows/test_tools_dbt_runner.yml | |
| secrets: inherit |