We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 215a6a6 commit 6b7d118Copy full SHA for 6b7d118
.github/workflows/test.yml
@@ -15,6 +15,7 @@ jobs:
15
go-version: [^1]
16
os: [ubuntu-latest, macos-latest, windows-latest]
17
runs-on: ${{ matrix.os }}
18
+ if: ${{ github.event_name != 'pull_request_target' || (contains(github.event.pull_request.labels.*.name, 'ok to test') && github.event.pull_request.state == 'open') }}
19
env:
20
GO111MODULE: "on"
21
UPYUN_BUCKET: ${{ secrets.UPYUN_BUCKET }}
@@ -23,6 +24,12 @@ jobs:
23
24
UPYUN_SECRET: ${{ secrets.UPYUN_SECRET }}
25
UPYUN_USERNAME: ${{ secrets.UPYUN_USERNAME }}
26
steps:
27
+ - name: Remove 'ok to test' Label
28
+ if: ${{ github.event_name == 'pull_request_target' }}
29
+ uses: actions-ecosystem/[email protected]
30
+ with:
31
+ labels: 'ok to test'
32
+
33
- name: Install Go
34
uses: actions/setup-go@v2
35
with:
0 commit comments