Skip to content

Commit 4738202

Browse files
committed
fix
1 parent 77edd53 commit 4738202

File tree

6 files changed

+8
-42
lines changed

6 files changed

+8
-42
lines changed

.github/workflows/_check_docs.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,9 @@ on:
66

77
# Runs when invoked by another workflow.
88
workflow_call:
9-
secrets:
10-
APIFY_SIGNING_TOKEN:
11-
required: false
129

1310
jobs:
1411
doc_checks:
1512
name: Doc checks
1613
uses: apify/workflows/.github/workflows/python_docs_check.yaml@main
17-
secrets:
18-
APIFY_SIGNING_TOKEN: ${{ secrets.APIFY_SIGNING_TOKEN }}
14+
secrets: inherit

.github/workflows/_release_docs.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,6 @@ on:
1010
ref:
1111
required: true
1212
type: string
13-
secrets:
14-
APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN:
15-
required: true
16-
APIFY_SIGNING_TOKEN:
17-
required: true
18-
SEGMENT_TOKEN:
19-
required: false
2013

2114
env:
2215
NODE_VERSION: 22

.github/workflows/_tests.yaml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,12 @@ on:
66

77
# Runs when invoked by another workflow.
88
workflow_call:
9-
secrets:
10-
APIFY_HTTPBIN_TOKEN:
11-
required: false
12-
CODECOV_TOKEN:
13-
required: false
149

1510
jobs:
1611
unit_tests:
1712
name: Unit tests
1813
uses: apify/workflows/.github/workflows/python_unit_tests.yaml@main
19-
secrets:
20-
httpbin_url: ${{ secrets.APIFY_HTTPBIN_TOKEN && format('https://httpbin.apify.actor?token={0}', secrets.APIFY_HTTPBIN_TOKEN) || 'https://httpbin.org' }}
21-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
14+
secrets: inherit
2215
with:
2316
python-versions: '["3.10", "3.11", "3.12", "3.13", "3.14"]'
2417
operating-systems: '["ubuntu-latest", "windows-latest", "macos-latest"]'

.github/workflows/manual_release_stable.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ jobs:
5555
with:
5656
version_number: ${{ needs.release_prepare.outputs.version_number }}
5757
changelog: ${{ needs.release_prepare.outputs.changelog }}
58-
secrets:
59-
APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}
58+
secrets: inherit
6059

6160
github_release:
6261
name: GitHub release

.github/workflows/on_master.yaml

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ jobs:
1515
doc_checks:
1616
name: Doc checks
1717
uses: ./.github/workflows/_check_docs.yaml
18-
secrets:
19-
APIFY_SIGNING_TOKEN: ${{ secrets.APIFY_SIGNING_TOKEN }}
2018

2119
doc_release:
2220
# Skip this for non-docs commits and forks.
@@ -27,10 +25,7 @@ jobs:
2725
with:
2826
# Use the same ref as the one that triggered the workflow.
2927
ref: ${{ github.ref }}
30-
secrets:
31-
APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}
32-
APIFY_SIGNING_TOKEN: ${{ secrets.APIFY_SIGNING_TOKEN }}
33-
SEGMENT_TOKEN: ${{ secrets.SEGMENT_TOKEN }}
28+
secrets: inherit
3429

3530
code_checks:
3631
name: Code checks
@@ -41,9 +36,7 @@ jobs:
4136
if: "!startsWith(github.event.head_commit.message, 'ci') && !startsWith(github.event.head_commit.message, 'docs')"
4237
name: Tests
4338
uses: ./.github/workflows/_tests.yaml
44-
secrets:
45-
APIFY_HTTPBIN_TOKEN: ${{ secrets.APIFY_HTTPBIN_TOKEN }}
46-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
39+
secrets: inherit
4740

4841
release_prepare:
4942
# Skip this for "ci", "docs" and "test" commits and for forks.
@@ -70,8 +63,7 @@ jobs:
7063
with:
7164
version_number: ${{ needs.release_prepare.outputs.version_number }}
7265
changelog: ${{ needs.release_prepare.outputs.changelog }}
73-
secrets:
74-
APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}
66+
secrets: inherit
7567

7668
pypi_publish:
7769
name: PyPI publish
@@ -102,7 +94,4 @@ jobs:
10294
with:
10395
# Use the ref from the changelog update to include the updated changelog.
10496
ref: ${{ needs.changelog_update.outputs.changelog_commitish }}
105-
secrets:
106-
APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}
107-
APIFY_SIGNING_TOKEN: ${{ secrets.APIFY_SIGNING_TOKEN }}
108-
SEGMENT_TOKEN: ${{ secrets.SEGMENT_TOKEN }}
97+
secrets: inherit

.github/workflows/on_pull_request.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ jobs:
1616
doc_checks:
1717
name: Doc checks
1818
uses: ./.github/workflows/_check_docs.yaml
19-
secrets:
20-
APIFY_SIGNING_TOKEN: ${{ secrets.APIFY_SIGNING_TOKEN }}
2119

2220
code_checks:
2321
name: Code checks
@@ -26,6 +24,4 @@ jobs:
2624
tests:
2725
name: Tests
2826
uses: ./.github/workflows/_tests.yaml
29-
secrets:
30-
APIFY_HTTPBIN_TOKEN: ${{ secrets.APIFY_HTTPBIN_TOKEN }}
31-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
27+
secrets: inherit

0 commit comments

Comments
 (0)