Skip to content

Commit 14820c5

Browse files
authored
CI: Fix fork check condition (#37553)
1 parent 9459d4f commit 14820c5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/contractors_review_requirements.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
name: "Check if a review is required from Connector teams"
1414
runs-on: ubuntu-latest
1515

16-
if: ${{ github.event.repository.fork == false }}
16+
if: ${{ github.event.pull_request.head.repo.fork == false }}
1717
# This workflow cannot run on forks, as the fork's github token does not have `read:org`
1818
# permissions, which are required to check the user's team membership. We assume that a
1919
# review on a fork's PR is always required from one or more connector teams and/or support.

.github/workflows/format_check.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
(github.event.pull_request.head.repo.fork == false)
1818
runs-on: tooling-test-small
1919
steps:
20-
- name: Checkout Airbyte
20+
- name: Checkout Airbyte (with credentials)
2121
uses: actions/checkout@v3
2222
with:
2323
ref: ${{ github.head_ref }}
@@ -100,7 +100,7 @@ jobs:
100100
runs-on: ubuntu-latest
101101
steps:
102102
# We have no creds. Ignore docker caching and just run the CLI.
103-
- name: Checkout code
103+
- name: Checkout code (Unprivileged)
104104
uses: actions/checkout@v4
105105
with:
106106
ref: ${{ github.head_ref }}
@@ -114,8 +114,8 @@ jobs:
114114
id: install-airbyte-ci-binary
115115
shell: bash
116116
run: |
117-
curl -sSL "https://connectors.airbyte.com/airbyte-ci/releases/ubuntu/latest/airbyte-ci" --output airbyte-ci-bin
118-
sudo mv airbyte-ci-bin /usr/local/bin/airbyte-ci
117+
curl -sSL "https://connectors.airbyte.com/airbyte-ci/releases/ubuntu/latest/airbyte-ci" --output airbyte-ci-bin
118+
sudo mv airbyte-ci-bin /usr/local/bin/airbyte-ci
119119
sudo chmod +x /usr/local/bin/airbyte-ci
120120
- name: Run format checks
121121
run: |

0 commit comments

Comments
 (0)