diff --git a/.github/workflows/contractors_review_requirements.yml b/.github/workflows/contractors_review_requirements.yml index 8cc521ce836d..1ee5736c3cc3 100644 --- a/.github/workflows/contractors_review_requirements.yml +++ b/.github/workflows/contractors_review_requirements.yml @@ -13,7 +13,7 @@ jobs: name: "Check if a review is required from Connector teams" runs-on: ubuntu-latest - if: ${{ github.event.repository.fork == false }} + if: ${{ github.event.pull_request.head.repo.fork == false }} # This workflow cannot run on forks, as the fork's github token does not have `read:org` # permissions, which are required to check the user's team membership. We assume that a # review on a fork's PR is always required from one or more connector teams and/or support. diff --git a/.github/workflows/format_check.yml b/.github/workflows/format_check.yml index e4338533ff72..643592fe7da1 100644 --- a/.github/workflows/format_check.yml +++ b/.github/workflows/format_check.yml @@ -17,7 +17,7 @@ jobs: (github.event.pull_request.head.repo.fork == false) runs-on: tooling-test-small steps: - - name: Checkout Airbyte + - name: Checkout Airbyte (with credentials) uses: actions/checkout@v3 with: ref: ${{ github.head_ref }} @@ -100,7 +100,7 @@ jobs: runs-on: ubuntu-latest steps: # We have no creds. Ignore docker caching and just run the CLI. - - name: Checkout code + - name: Checkout code (Unprivileged) uses: actions/checkout@v4 with: ref: ${{ github.head_ref }} @@ -114,8 +114,8 @@ jobs: id: install-airbyte-ci-binary shell: bash run: | - curl -sSL "https://connectors.airbyte.com/airbyte-ci/releases/ubuntu/latest/airbyte-ci" --output airbyte-ci-bin - sudo mv airbyte-ci-bin /usr/local/bin/airbyte-ci + curl -sSL "https://connectors.airbyte.com/airbyte-ci/releases/ubuntu/latest/airbyte-ci" --output airbyte-ci-bin + sudo mv airbyte-ci-bin /usr/local/bin/airbyte-ci sudo chmod +x /usr/local/bin/airbyte-ci - name: Run format checks run: |