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 5eea3e4 commit eabd9dbCopy full SHA for eabd9db
.github/workflows/dev.yaml
@@ -18,7 +18,12 @@ concurrency:
18
19
jobs:
20
build-deploy:
21
- if: github.event.action != 'closed' # If closing the PR, no publishing
+ # If :
22
+ # If closing the PR, no publishing
23
+ # If event is push to a branch (contains ...) and a PR from that branch is opened
24
+ if: |
25
+ github.event_name == 'pull_request' && github.event.action != 'closed' ||
26
+ (github.event_name == 'push' && contains(github.ref, 'refs/heads/') && github.repository == github.event.pull_request.head.repo.full_name)
27
runs-on: ubuntu-latest
28
steps:
29
- name: Check out repository
0 commit comments