File tree 2 files changed +58
-3
lines changed
2 files changed +58
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ permissions:
20
20
# discussions: read|write|none
21
21
# packages: read|write|none
22
22
# pages: read|write|none
23
- pull-requests : read
23
+ pull-requests : write
24
24
# repository-projects: read|write|none
25
25
# security-events: read|write|none
26
26
statuses : read
41
41
ACTIONS_BRANCH : main
42
42
43
43
jobs :
44
- #
45
- Setup :
44
+ PRChanged2 :
45
+ name : " run-check"
46
+ uses : ./.github/workflows/AsteriskPRChanged2.yml
47
+
48
+ Cleanup :
49
+ needs : [ PRChanged2 ]
46
50
runs-on : ubuntu-latest
47
51
steps :
48
52
- id : setup
Original file line number Diff line number Diff line change
1
+ name : PRChangedCalled2
2
+ run-name : " ${{ github.workflow }}-${{ github.event.label.name }}-${{ github.event.number }}"
3
+ on :
4
+ workflow_call :
5
+ inputs :
6
+ actions_ref :
7
+ description : ' JSON object reference to the actions: { "owner": "asterisk", "repo": "asterisk-ci-actions", "branch": "main" }'
8
+ type : string
9
+ required : false
10
+ default : ' { "owner": "asterisk", "repo": "asterisk-ci-actions", "branch": "main" }'
11
+
12
+ permissions :
13
+ actions : read
14
+ # attestations: read|write|none
15
+ checks : read
16
+ contents : read
17
+ # deployments: read|write|none
18
+ # id-token: write|none
19
+ issues : read
20
+ # discussions: read|write|none
21
+ # packages: read|write|none
22
+ # pages: read|write|none
23
+ pull-requests : read
24
+ # repository-projects: read|write|none
25
+ # security-events: read|write|none
26
+ statuses : read
27
+
28
+ env :
29
+ REPO : ${{ github.repository }}
30
+ REPO_DIR : ${{ github.workspace }}/${{ github.event.repository.name }}
31
+ REPO_ORG : ${{ github.event.repository.owner.login }}
32
+ PR_NUMBER : ${{ github.event.number }}
33
+ BASE_BRANCH : ${{ github.event.pull_request.base.ref }}
34
+ WORKFLOW_NAME : ${{ github.workflow }}
35
+ WORKFLOW_RUN_ID : ${{ github.run_id }}
36
+ SCRIPT_DIR : ${{ github.workspace }}/asterisk-ci-actions/scripts
37
+ GH_TOKEN : ${{ secrets.github_token }}
38
+ LOG_DIR : ${{ github.workspace }}/logs
39
+ ACTIONS_OWNER : asterisk
40
+ ACTIONS_REPO : asterisk-ci-actions
41
+ ACTIONS_BRANCH : main
42
+
43
+ jobs :
44
+ Cleanup :
45
+ runs-on : ubuntu-latest
46
+ steps :
47
+ - id : setup
48
+ run : |
49
+
50
+ gh pr edit --repo ${REPO} ${PR_NUMBER} --add-label duplicate
51
+
You can’t perform that action at this time.
0 commit comments