File tree Expand file tree Collapse file tree 3 files changed +27
-22
lines changed Expand file tree Collapse file tree 3 files changed +27
-22
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 16
16
VERBOSE : ${{ github.event.inputs.verbose }}
17
17
18
18
jobs :
19
+
20
+ add-labels :
21
+ runs-on : ubuntu-latest
22
+ if : (github.event.pull_request.base.ref == 'staging' || github.event.pull_request.base.ref == 'main') && github.event_name == 'pull_request' && github.event.action == 'opened'
23
+ steps :
24
+ - name : Add labels to PR
25
+ uses : actions-ecosystem/action-add-labels@v1
26
+ with :
27
+ github_token : ${{ secrets.GITHUB_TOKEN }}
28
+ labels : |
29
+ run-bittensor-sdk-tests
30
+ run-bittensor-cli-tests
31
+
19
32
check-labels :
33
+ needs : add-labels
20
34
runs-on : ubuntu-latest
21
35
if : ${{ github.event.pull_request.draft == false }}
22
36
outputs :
Original file line number Diff line number Diff line change 16
16
VERBOSE : ${{ github.event.inputs.verbose }}
17
17
18
18
jobs :
19
+ add-labels :
20
+ runs-on : ubuntu-latest
21
+ if : (github.event.pull_request.base.ref == 'staging' || github.event.pull_request.base.ref == 'main') && github.event_name == 'pull_request' && github.event.action == 'opened'
22
+ steps :
23
+ - name : Add labels to PR
24
+ uses : actions-ecosystem/action-add-labels@v1
25
+ with :
26
+ github_token : ${{ secrets.GITHUB_TOKEN }}
27
+ labels : |
28
+ run-bittensor-sdk-tests
29
+ run-bittensor-cli-tests
30
+
19
31
check-labels :
32
+ needs : add-labels
20
33
runs-on : ubuntu-latest
21
34
if : ${{ github.event.pull_request.draft == false }}
22
35
outputs :
You can’t perform that action at this time.
0 commit comments