Skip to content

Commit ed64e97

Browse files
authored
do not run the scheduled GitHub actions or CIFuzz on forks / some small cleanups (#6107)
1 parent c5ff68f commit ed64e97

10 files changed

Lines changed: 28 additions & 18 deletions

File tree

.github/workflows/CI-cygwin.yml.deactivated renamed to .github/workflows/CI-cygwin.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
# Some convenient links:
2-
# - https://github.com/actions/virtual-environments/blob/master/images/win/Windows2019-Readme.md
3-
#
4-
1+
# Syntax reference https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions
2+
# Environment reference https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners
53
name: CI-cygwin
64

75
on:
@@ -34,6 +32,7 @@ jobs:
3432
fail-fast: false
3533

3634
runs-on: ${{ matrix.os }}
35+
if: false # the hard-coded cygwin repository has changed so the setup step fails - TODO: re-enable
3736

3837
steps:
3938
- uses: actions/checkout@v3

.github/workflows/CI-mingw.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
# Some convenient links:
2-
# - https://github.com/actions/virtual-environments/blob/master/images/win/Windows2019-Readme.md
3-
#
4-
1+
# Syntax reference https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions
2+
# Environment reference https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners
53
name: CI-mingw
64

75
on:

.github/workflows/CI-windows.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
# Some convenient links:
2-
# - https://github.com/actions/virtual-environments/blob/master/images/win/Windows2019-Readme.md
3-
#
4-
1+
# Syntax reference https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions
2+
# Environment reference https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners
53
name: CI-windows
64

75
on:

.github/workflows/buildman.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Syntax reference https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions
2+
# Environment reference https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners
13
name: Build manual
24

35
on:

.github/workflows/cifuzz.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
1+
# Syntax reference https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions
2+
# Environment reference https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners
13
name: CIFuzz
4+
25
on: [pull_request]
6+
7+
permissions:
8+
contents: read
9+
310
jobs:
411
Fuzzing:
512
runs-on: ubuntu-latest
13+
if: ${{ github.repository_owner == 'danmar' }}
614
steps:
715
- name: Build Fuzzers
816
id: build

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Syntax reference https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions
2+
# Environment reference https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners
13
name: "CodeQL"
24

35
on:

.github/workflows/coverity.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
1+
# Syntax reference https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions
2+
# Environment reference https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners
23
name: Coverity
34

45
on:

.github/workflows/cppcheck-premium.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
1+
# Syntax reference https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions
2+
# Environment reference https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners
23
name: cppcheck-premium
34

45
on:

.github/workflows/iwyu.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
image: ["opensuse/tumbleweed:latest"] # "fedora:latest" / "debian:unstable" / "archlinux:latest"
1919

2020
runs-on: ubuntu-22.04
21+
if: ${{ github.repository_owner == 'danmar' }}
2122

2223
container:
2324
image: ${{ matrix.image }}
@@ -118,6 +119,7 @@ jobs:
118119
clang-include-cleaner:
119120

120121
runs-on: ubuntu-22.04
122+
if: ${{ github.repository_owner == 'danmar' }}
121123

122124
env:
123125
QT_VERSION: 5.15.2

.github/workflows/release-windows.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
# Some convenient links:
2-
# - https://github.com/actions/virtual-environments/blob/master/images/win/Windows2019-Readme.md
3-
#
4-
1+
# Syntax reference https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions
2+
# Environment reference https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners
53
name: release-windows
64

75
on:
@@ -24,6 +22,7 @@ jobs:
2422
build:
2523

2624
runs-on: windows-2022
25+
if: ${{ github.repository_owner == 'danmar' }}
2726

2827
env:
2928
# see https://www.pcre.org/original/changelog.txt

0 commit comments

Comments
 (0)