Skip to content

Commit ab4bb07

Browse files
authored
Opening issue only if on scheduled (#2824)
1 parent 2a16fb3 commit ab4bb07

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -805,6 +805,7 @@ jobs:
805805

806806

807807
release:
808+
name: "Release"
808809
if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
809810
needs: [smoke-tests, docs-build, build-test, build-test-ubuntu, build-test-ubuntu-minimal]
810811
runs-on: ubuntu-latest
@@ -925,7 +926,7 @@ jobs:
925926
notify:
926927
name: Notify failed build
927928
needs: [smoke-tests, docs-build, build-test, build-test-ubuntu, build-test-ubuntu-minimal]
928-
if: failure() && github.event.pull_request == null
929+
if: failure() && github.event_name == 'schedule'
929930
runs-on: ubuntu-latest
930931
steps:
931932
- name: Open issue

0 commit comments

Comments
 (0)