Skip to content

Commit

Permalink
update test workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
huangnauh committed Apr 6, 2023
1 parent 83792f7 commit a52c324
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
go-version: [^1]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
if: contains(github.event.pull_request.labels.*.name, 'ok to test')
if: ${{ github.event_name != 'pull_request_target' || (contains(github.event.pull_request.labels.*.name, 'ok to test') && github.event.pull_request.state == 'open') }}
env:
GO111MODULE: "on"
UPYUN_BUCKET1: ${{ secrets.UPYUN_BUCKET1 }}
Expand Down

0 comments on commit a52c324

Please sign in to comment.