Skip to content

Commit 1da7b1c

Browse files
committed
fix
1 parent 9cd78e5 commit 1da7b1c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/check-btcli-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ concurrency:
77
on:
88
pull_request:
99
branches:
10-
- master
10+
- main
1111
- staging
1212
types: [opened, synchronize, reopened, labeled, unlabeled]
1313

@@ -19,7 +19,7 @@ jobs:
1919

2020
add-labels:
2121
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'
22+
if: (github.event.pull_request.base.ref == 'staging' || github.event.pull_request.base.ref == 'main') && (github.event.action == 'reopened' || github.event.action == 'opened')
2323
steps:
2424
- name: Add labels to PR
2525
uses: actions-ecosystem/action-add-labels@v1

.github/workflows/check-sdk-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ concurrency:
77
on:
88
pull_request:
99
branches:
10-
- master
10+
- main
1111
- staging
1212
types: [opened, synchronize, reopened, labeled, unlabeled]
1313

@@ -18,7 +18,7 @@ env:
1818
jobs:
1919
add-labels:
2020
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'
21+
if: (github.event.pull_request.base.ref == 'staging' || github.event.pull_request.base.ref == 'main') && (github.event.action == 'reopened' || github.event.action == 'opened')
2222
steps:
2323
- name: Add labels to PR
2424
uses: actions-ecosystem/action-add-labels@v1

0 commit comments

Comments
 (0)