diff --git a/.github/workflows/build_linux.yml b/.github/workflows/build_linux.yml index 4744392fa9f..f622f3fb852 100644 --- a/.github/workflows/build_linux.yml +++ b/.github/workflows/build_linux.yml @@ -4,9 +4,20 @@ on: push: branches: - main + paths: + - 'src/**' + - 'deps/**' + - '**/CMakeLists.txt' + - 'version.inc' + pull_request: branches: - main + paths: + - 'src/**' + - 'deps/**' + - '**/CMakeLists.txt' + - 'version.inc' jobs: appimage-builder: diff --git a/.github/workflows/build_mac_arm64.yml b/.github/workflows/build_mac_arm64.yml index 8287c844a88..a84c5dad393 100644 --- a/.github/workflows/build_mac_arm64.yml +++ b/.github/workflows/build_mac_arm64.yml @@ -4,9 +4,20 @@ on: push: branches: - main + paths: + - 'src/**' + - 'deps/**' + - '**/CMakeLists.txt' + - 'version.inc' + pull_request: branches: - main + paths: + - 'src/**' + - 'deps/**' + - '**/CMakeLists.txt' + - 'version.inc' jobs: build_osx_arm64: diff --git a/.github/workflows/build_mac_x64.yml b/.github/workflows/build_mac_x64.yml index 0dbacc0b157..f53b292c188 100644 --- a/.github/workflows/build_mac_x64.yml +++ b/.github/workflows/build_mac_x64.yml @@ -4,9 +4,20 @@ on: push: branches: - main + paths: + - 'src/**' + - 'deps/**' + - '**/CMakeLists.txt' + - 'version.inc' + pull_request: branches: - main + paths: + - 'src/**' + - 'deps/**' + - '**/CMakeLists.txt' + - 'version.inc' jobs: build_osx_x86_64: diff --git a/.github/workflows/build_win.yml b/.github/workflows/build_win.yml index cacf9774db3..3c1c04afcb9 100644 --- a/.github/workflows/build_win.yml +++ b/.github/workflows/build_win.yml @@ -4,9 +4,20 @@ on: push: branches: - main + paths: + - 'src/**' + - 'deps/**' + - '**/CMakeLists.txt' + - 'version.inc' + pull_request: branches: - main + paths: + - 'src/**' + - 'deps/**' + - '**/CMakeLists.txt' + - 'version.inc' jobs: build_win64: diff --git a/.github/workflows/publish_docs_to_wiki.yml b/.github/workflows/publish_docs_to_wiki.yml index 4cf0865e953..c55539c118a 100644 --- a/.github/workflows/publish_docs_to_wiki.yml +++ b/.github/workflows/publish_docs_to_wiki.yml @@ -6,7 +6,7 @@ on: paths: - doc/** # This includes all sub folders branches: - - PublishDocsToWiki # This can be changed to any branch of your preference + - main # This can be changed to any branch of your preference env: USER_TOKEN: ${{ secrets.GH_WIKI_PAT }} # This is the repository secret personal access token