File tree Expand file tree Collapse file tree 8 files changed +43
-0
lines changed
Expand file tree Collapse file tree 8 files changed +43
-0
lines changed Original file line number Diff line number Diff line change 77 # Runs when invoked by another workflow.
88 workflow_call :
99
10+ permissions :
11+ contents : read
12+
1013jobs :
1114 actions_lint_check :
1215 name : Actions lint check
Original file line number Diff line number Diff line change 77 # Runs when invoked by another workflow.
88 workflow_call :
99
10+ permissions :
11+ contents : read
12+
1013jobs :
1114 doc_checks :
1215 name : Doc checks
Original file line number Diff line number Diff line change 1111 required : true
1212 type : string
1313
14+ permissions :
15+ contents : read
16+
1417env :
1518 NODE_VERSION : 22
1619 PYTHON_VERSION : 3.14
Original file line number Diff line number Diff line change 77 # Runs when invoked by another workflow.
88 workflow_call :
99
10+ permissions :
11+ contents : read
12+
1013jobs :
1114 unit_tests :
1215 name : Unit tests
Original file line number Diff line number Diff line change @@ -25,6 +25,9 @@ concurrency:
2525 group : release
2626 cancel-in-progress : false
2727
28+ permissions :
29+ contents : read
30+
2831jobs :
2932 code_checks :
3033 name : Code checks
5154 changelog_update :
5255 name : Changelog update
5356 needs : [release_prepare]
57+ permissions :
58+ contents : write
5459 uses : apify/workflows/.github/workflows/python_bump_and_update_changelog.yaml@main
5560 with :
5661 version_number : ${{ needs.release_prepare.outputs.version_number }}
6166 name : GitHub release
6267 needs : [release_prepare, changelog_update]
6368 runs-on : ubuntu-latest
69+ permissions :
70+ contents : write
6471 env :
6572 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6673 steps :
@@ -98,6 +105,10 @@ jobs:
98105 doc_release :
99106 name : Doc release
100107 needs : [changelog_update, pypi_publish]
108+ permissions :
109+ contents : write
110+ pages : write
111+ id-token : write
101112 uses : ./.github/workflows/_release_docs.yaml
102113 with :
103114 # Use the ref from the changelog update to include the updated changelog.
Original file line number Diff line number Diff line change 66 types :
77 - opened
88
9+ permissions :
10+ contents : read
11+
912jobs :
1013 label_issues :
1114 name : Add labels
Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ concurrency:
1111 group : release
1212 cancel-in-progress : false
1313
14+ permissions :
15+ contents : read
16+
1417jobs :
1518 doc_checks :
1619 name : Doc checks
2124 if : startsWith(github.event.head_commit.message, 'docs')
2225 name : Doc release
2326 needs : [doc_checks]
27+ permissions :
28+ contents : write
29+ pages : write
30+ id-token : write
2431 uses : ./.github/workflows/_release_docs.yaml
2532 with :
2633 # Use the same ref as the one that triggered the workflow.
6471 changelog_update :
6572 name : Changelog update
6673 needs : [release_prepare]
74+ permissions :
75+ contents : write
6776 uses : apify/workflows/.github/workflows/python_bump_and_update_changelog.yaml@main
6877 with :
6978 version_number : ${{ needs.release_prepare.outputs.version_number }}
@@ -95,6 +104,10 @@ jobs:
95104 doc_release_post_publish :
96105 name : Doc release post publish
97106 needs : [changelog_update, pypi_publish]
107+ permissions :
108+ contents : write
109+ pages : write
110+ id-token : write
98111 uses : ./.github/workflows/_release_docs.yaml
99112 with :
100113 # Use the ref from the changelog update to include the updated changelog.
Original file line number Diff line number Diff line change 44 # Runs whenever a pull request is opened or updated.
55 pull_request :
66
7+ permissions :
8+ contents : read
9+ pull-requests : read
10+
711jobs :
812 pr_title_check :
913 name : PR title check
You can’t perform that action at this time.
0 commit comments