diff --git a/.github/workflows/github_actions.yml b/.github/workflows/github_actions.yml index f5a79d9d0..5684170c0 100644 --- a/.github/workflows/github_actions.yml +++ b/.github/workflows/github_actions.yml @@ -3,18 +3,21 @@ name: 'BrowserStack Test' on: pull_request_target: branches: [ master ] - types: [ labeled ] + types: [ labeled, opened, synchronize ] jobs: ubuntu-job: name: 'BrowserStack Test on Ubuntu' runs-on: ubuntu-latest - if: github.event.label.name == 'safe_to_test' + if: | + github.event.label.name == 'safe_to_test' || + github.event.pull_request.user.login == 'dependabot[bot]' env: GITACTIONS: true steps: - name: 'Remove safe_to_test label' + if: github.event.label.name == 'safe_to_test' uses: actions/github-script@v8 with: script: |