Skip to content

Commit 1a1941e

Browse files
committed
rm git checkout with
1 parent 708eda1 commit 1a1941e

File tree

5 files changed

+4
-14
lines changed

5 files changed

+4
-14
lines changed

.github/workflows/_check_changelog_entry.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,8 @@ jobs:
1212
PYTHON_VERSION: 3.12
1313

1414
steps:
15-
# We need to check out the head commit in case of PRs, and the default ref otherwise (during release).
1615
- name: Checkout repository
1716
uses: actions/checkout@v4
18-
with:
19-
ref: "${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.sha || '' }}"
2017

2118
- name: Set up Python
2219
uses: actions/setup-python@v5

.github/workflows/_integration_tests.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ on:
44
workflow_call:
55
secrets:
66
APIFY_TEST_USER_PYTHON_SDK_API_TOKEN:
7-
description: API token of the Python SDK testing user on Apify
7+
description: API token of the Python SDK & client testing user on Apify
88
required: true
99

10-
concurrency: # This is to make sure that only one run of this workflow is running at the same time, to not overshoot the test user limits
10+
# This is to make sure that only one run of this workflow is running at the same time,
11+
# to not overshoot the test user limits.
12+
concurrency:
1113
group: integration_tests
1214

1315
jobs:

.github/workflows/_linting.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,8 @@ jobs:
1212
python-version: ["3.9", "3.10", "3.11", "3.12"]
1313

1414
steps:
15-
# We need to check out the head commit in case of PRs, and the default ref otherwise (during release).
1615
- name: Checkout repository
1716
uses: actions/checkout@v4
18-
with:
19-
ref: "${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.sha || '' }}"
2017

2118
- name: Set up Python ${{ matrix.python-version }}
2219
uses: actions/setup-python@v5

.github/workflows/_type_checking.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,8 @@ jobs:
1212
python-version: ["3.9", "3.10", "3.11", "3.12"]
1313

1414
steps:
15-
# We need to check out the head commit in case of PRs, and the default ref otherwise (during release).
1615
- name: Checkout repository
1716
uses: actions/checkout@v4
18-
with:
19-
ref: "${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.sha || '' }}"
2017

2118
- name: Set up Python ${{ matrix.python-version }}
2219
uses: actions/setup-python@v5

.github/workflows/_unit_tests.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,8 @@ jobs:
1313
runs-on: ${{ matrix.os }}
1414

1515
steps:
16-
# We need to check out the head commit in case of PRs, and the default ref otherwise (during release).
1716
- name: Checkout repository
1817
uses: actions/checkout@v4
19-
with:
20-
ref: "${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.sha || '' }}"
2118

2219
- name: Set up Python ${{ matrix.python-version }}
2320
uses: actions/setup-python@v5

0 commit comments

Comments
 (0)