File tree 2 files changed +18
-1
lines changed
2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 52
52
wget -qO asterisk-ci-actions.tar.gz \
53
53
https://github.com/${ACTIONS_OWNER}/${ACTIONS_REPO}/archive/refs/heads/${ACTIONS_BRANCH}.tar.gz
54
54
tar -xf asterisk-ci-actions.tar.gz --transform="s/^${ACTIONS_REPO}-${ACTIONS_BRANCH}/asterisk-ci-actions/g"
55
+ ls -al
55
56
56
- gh pr edit ${PR_NUMBER} --add-label bug
57
+ gh --repo ${REPO} pr edit --add-label bug
57
58
Original file line number Diff line number Diff line change @@ -23,10 +23,26 @@ permissions:
23
23
# security-events: read|write|none
24
24
statuses : read
25
25
26
+ env :
27
+ REPO : ${{ github.repository }}
28
+ REPO_DIR : ${{ github.workspace }}/${{ github.event.repository.name }}
29
+ REPO_ORG : ${{ github.event.repository.owner.login }}
30
+ PR_NUMBER : ${{ github.event.number }}
31
+ BASE_BRANCH : ${{ github.event.pull_request.base.ref }}
32
+ WORKFLOW_NAME : ${{ github.workflow }}
33
+ WORKFLOW_RUN_ID : ${{ github.run_id }}
34
+
26
35
jobs :
27
36
PRChanged :
28
37
name : " run-check"
29
38
concurrency :
30
39
group : check-${{ github.base_ref }}-${{ github.ref_name }}
31
40
cancel-in-progress : true
32
41
uses : ./.github/workflows/AsteriskPRChanged.yml
42
+
43
+ Cleanup :
44
+ runs-on : ubuntu-latest
45
+ steps :
46
+ - name : CleanupStep
47
+ run : |
48
+ gh --repo ${REPO} pr edit --add-label duplicate
You can’t perform that action at this time.
0 commit comments