Skip to content

Commit aa679ca

Browse files
workflows: disable unnecessary workflows (fluent#4450)
* workflows: disable unnecessary workflows Signed-off-by: Patrick Stephens <[email protected]> * workflows: fix crontab for stale check Signed-off-by: Patrick Stephens <[email protected]>
1 parent 4654494 commit aa679ca

File tree

3 files changed

+7
-12
lines changed

3 files changed

+7
-12
lines changed

.github/workflows/pr-compile-check.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: 'Pull requests compile checks'
22
on:
33
pull_request:
4+
# Only trigger if there is a code change
5+
paths:
6+
- '**.h'
7+
- '**.c'
48
types:
59
- opened
610
- edited

.github/workflows/pr-stale.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: 'Close stale issues and PR(s)'
22
on:
33
schedule:
4-
- cron: '90 1 * * *'
4+
- cron: '30 1 * * *'
55

66
jobs:
77
stale:

.github/workflows/unit-tests.yaml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@ on:
99
- '.github/**'
1010
- 'dockerfiles/**'
1111
- 'docker_compose/**'
12+
- 'packaging/**'
1213
branches:
1314
- master
1415
- 1.8
1516
types: [opened, edited, synchronize]
1617
jobs:
1718
run-unit-tests-amd64:
18-
name: Run unit tests on amd64 for ${{ matrix.os }} - ${{ matrix.compiler }} - ${{ matrix.flb_option }}
19+
name: ${{ matrix.os }} - ${{ matrix.compiler }} - ${{ matrix.flb_option }} unit tests run on AMD64
1920
runs-on: ${{ matrix.os }}
2021
strategy:
2122
max-parallel: 48
@@ -80,13 +81,3 @@ jobs:
8081
CC: gcc
8182
CXX: g++
8283
FLB_OPT: ${{ matrix.flb_option }}
83-
84-
run-all-unit-tests:
85-
if: ${{ always() }}
86-
runs-on: ubuntu-latest
87-
name: Unit tests (matrix)
88-
needs: run-unit-tests-amd64
89-
steps:
90-
- name: Check build matrix status
91-
if: ${{ needs.run-unit-tests-amd64.result != 'success' }}
92-
run: exit 1

0 commit comments

Comments
 (0)