aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2020-12-12 11:06:05 +0200
committerGitHub <[email protected]>2020-12-12 11:06:05 +0200
commitf185e0522a905c31d648d324131ab4c280945210 (patch)
treea48097b064aea4a181fcc2b7e78196f35760c12b /.github
parent764e5298dea17e15bbcbf792204a45a761bedc0a (diff)
downloadbootstrap-XhmikosR-patch-2.tar.xz
bootstrap-XhmikosR-patch-2.zip
Update js.ymlXhmikosR-patch-2
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/js.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/js.yml b/.github/workflows/js.yml
index 1ec0d6909..9f0765905 100644
--- a/.github/workflows/js.yml
+++ b/.github/workflows/js.yml
@@ -5,6 +5,13 @@ on:
branches-ignore:
- "dependabot/**"
pull_request:
+ branches:
+ # https://github.community/t/how-to-trigger-an-action-on-push-or-pull-request-but-not-both/16662/10
+ # Branches from forks have the form 'user:branch-name' so we only run
+ # this job on pull_request events for branches that look like fork
+ # branches. Without this we would end up running this job twice for non
+ # forked PRs, once for the push and then once for opening the PR.
+ - "**:**"
env:
CI: true