aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2023-09-09 13:37:32 +0200
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2023-09-09 15:21:46 +0200
commit6e26964e0effdb4998fb98bc7f87430ce50cc672 (patch)
treea87633b7d03e4309c75303c8c4ee0f13e1616d2f
parent5acd8501177eded74d94ab8f307a18ae0a4d334d (diff)
downloadrneovim-6e26964e0effdb4998fb98bc7f87430ce50cc672.tar.gz
rneovim-6e26964e0effdb4998fb98bc7f87430ce50cc672.tar.bz2
rneovim-6e26964e0effdb4998fb98bc7f87430ce50cc672.zip
revert: "ci: trigger tests when pushing"
This reverts commit e71c7898ca3cf3af1243227ff3cba526d48897e8. Triggering jobs on users own fork turned out to be not that useful, and only necessary in rare moments. It's easier to adjust the CI scripts if the users wants CI results before creating a pull request. It also reduces the complexity of the CI code.
-rw-r--r--.github/workflows/build.yml9
-rw-r--r--.github/workflows/test.yml5
2 files changed, 5 insertions, 9 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 19d443e9e2..982ec707ae 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -1,12 +1,5 @@
name: build
on:
- push:
- paths:
- - '**.cmake'
- - '**/CMakeLists.txt'
- - '**/CMakePresets.json'
- - 'cmake.*/**'
- - '.github/**'
pull_request:
branches:
- 'master'
@@ -19,7 +12,7 @@ on:
- '.github/**'
concurrency:
- group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.repository_owner == 'neovim' && github.sha || github.ref_name }}
+ group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
env:
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 050c534549..f27e58644c 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -1,6 +1,9 @@
name: test
on:
push:
+ branches:
+ - 'master'
+ - 'release-[0-9]+.[0-9]+'
pull_request:
branches:
- 'master'
@@ -9,7 +12,7 @@ on:
- 'contrib/**'
concurrency:
- group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.repository_owner == 'neovim' && github.sha || github.ref_name }}
+ group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true
env: