Skip to content

Commit ebe9176

Browse files
committed
ci(package): only run as workflow_dispatch, or in the original repo
Dependabot will always push directly into the original repository. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 262d567 commit ebe9176

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/npm-run-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919
jobs:
2020
npm-run-package-and-push: # make sure build/ci work properly
2121
runs-on: ubuntu-latest
22-
if: ${{ github.event_name }} == 'workflow_dispatch' || ${{ github.actor }} == 'dependabot[bot]' || ${{ github.actor }} == 'dscho'
22+
if: ${{ github.event_name }} == 'workflow_dispatch' || ${{ github.event.pull_request.head.repo.owner.login }} == 'git-for-windows'
2323
environment: git-for-windows-ci-push
2424
steps:
2525
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)