Commit 20d0a8f 1 parent 128272a commit 20d0a8f Copy full SHA for 20d0a8f
File tree 4 files changed +44
-6
lines changed
4 files changed +44
-6
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,6 @@ updates:
28
28
# Keep both psycopg and psycopg-c together
29
29
patterns :
30
30
- " psycopg*"
31
- python-package :
32
- # Keep rest of package together
33
- patterns :
34
- - " *"
35
31
- package-ecosystem : github-actions
36
32
directory : " /"
37
33
schedule :
Original file line number Diff line number Diff line change 6
6
pull_request :
7
7
merge_group :
8
8
types : [checks_requested]
9
- workflow_dispatch :
9
+ workflow_dispatch : # generally only for the "combine-prs" workflow
10
10
permissions :
11
11
id-token : write
12
12
contents : read
Original file line number Diff line number Diff line change
1
+ # Origin: https://github.com/marketplace/actions/combine-prs
2
+
3
+ name : ' Combine PRs'
4
+
5
+ # Controls when the action will run - in this case triggered manually
6
+ on :
7
+ workflow_dispatch :
8
+ inputs :
9
+ ignoreLabel :
10
+ description : ' Exclude PRs with this label'
11
+ required : true
12
+ default : ' blocked'
13
+
14
+ # https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
15
+ permissions :
16
+ contents : write
17
+ pull-requests : write
18
+ checks : read
19
+ actions : write
20
+
21
+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
22
+ jobs :
23
+ # This workflow contains a single job called "combine-prs"
24
+ combine-prs :
25
+ # The type of runner that the job will run on
26
+ runs-on : ubuntu-latest
27
+
28
+ steps :
29
+ - name : Use GitHub App Token
30
+ uses :
wow-actions/[email protected]
31
+ id : generate_token
32
+ with :
33
+ app_id : ${{ secrets.COMBINE_PRS_APP_ID }}
34
+ private_key : ${{ secrets.COMBINE_PRS_PRIVATE_KEY }}
35
+ fallback : ${{ secrets.GITHUB_TOKEN }} # fall back to the default token if the app token is
36
+
37
+ - name : combine-prs
38
+ id : combine-prs
39
+
40
+ with :
41
+ github_token : ${{ steps.generate_token.outputs.BOT_TOKEN }}
42
+ ignore_label : ${{ github.event.inputs.ignoreLabel || 'blocked' }}
Original file line number Diff line number Diff line change 6
6
pull_request :
7
7
merge_group :
8
8
types : [checks_requested]
9
- workflow_dispatch :
9
+ workflow_dispatch : # generally only for the "combine-prs" workflow
10
10
permissions :
11
11
contents : read
12
12
concurrency :
You can’t perform that action at this time.
0 commit comments