Skip to content

Commit

Permalink
CI: Fix skip condition on forks (2 of 2) (#37554)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronsteers authored Apr 25, 2024
1 parent 9b9f34e commit f96d9f1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/connector_teams_review_requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
name: "Check if a review is required from Connector teams"
runs-on: ubuntu-latest

if: ${{ github.repository == 'airbytehq/airbyte' && github.event.pull_request.draft == false }}
if: ${{ github.event.pull_request.head.repo.fork == false && github.event.pull_request.draft == false }}
steps:
- name: Checkout Airbyte
uses: actions/checkout@v3
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/format_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ jobs:
- name: Checkout code (Unprivileged)
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 1
- name: Set up Python
uses: actions/setup-python@v5
Expand Down

0 comments on commit f96d9f1

Please sign in to comment.