This repository has been archived by the owner on Oct 28, 2024. It is now read-only.
[Draft][Vector] Disable content encoding for GCP sink #21
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: Call Build Preview | |
on: | |
pull_request: | |
types: [opened, reopened] | |
jobs: | |
approval_check: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
if: ${{ contains(github.head_ref, 'website') }} | |
steps: | |
- name: Echo approval | |
run: | | |
echo "Workflow has been allowed to run for PR ${{ github.event.number }}. Setting artifacts and then continuing workflow runs" | |
# Save the PR number and branch name to an artifact for use in subsequent jobs | |
- name: Save PR number and Branch name | |
run: | | |
mkdir -p ./pr | |
echo "${{ github.event.number }}" > ./pr/number | |
echo "${{ github.head_ref }}" >> ./pr/branch | |
# Upload the artifact | |
- name: Upload PR information artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: pr | |
path: pr/ |