Merge pull request #8082 from AkihiroSuda/ci-skip-on-fork
CI: skip some jobs when `repo != containerd/containerd`
This commit is contained in:
commit
fdfdc9bfc0
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@ -56,6 +56,7 @@ jobs:
|
|||||||
#
|
#
|
||||||
project:
|
project:
|
||||||
name: Project Checks
|
name: Project Checks
|
||||||
|
if: github.repository == 'containerd/containerd'
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
|
|
||||||
|
1
.github/workflows/codeql.yml
vendored
1
.github/workflows/codeql.yml
vendored
@ -15,6 +15,7 @@ permissions: # added using https://github.com/step-security/secure-workflows
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
CodeQL-Build:
|
CodeQL-Build:
|
||||||
|
if: github.repository == 'containerd/containerd'
|
||||||
permissions:
|
permissions:
|
||||||
actions: read # for github/codeql-action/init to get workflow details
|
actions: read # for github/codeql-action/init to get workflow details
|
||||||
contents: read # for actions/checkout to fetch code
|
contents: read # for actions/checkout to fetch code
|
||||||
|
2
.github/workflows/fuzz.yml
vendored
2
.github/workflows/fuzz.yml
vendored
@ -8,6 +8,7 @@ jobs:
|
|||||||
# Others use https://github.com/AdaLogics/go-fuzz-headers.
|
# Others use https://github.com/AdaLogics/go-fuzz-headers.
|
||||||
ci_fuzz:
|
ci_fuzz:
|
||||||
name: CI Fuzz
|
name: CI Fuzz
|
||||||
|
if: github.repository == 'containerd/containerd'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
steps:
|
steps:
|
||||||
@ -35,6 +36,7 @@ jobs:
|
|||||||
# runnable with go test -fuzz.
|
# runnable with go test -fuzz.
|
||||||
go_test_fuzz:
|
go_test_fuzz:
|
||||||
name : go test -fuzz
|
name : go test -fuzz
|
||||||
|
if: github.repository == 'containerd/containerd'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
steps:
|
steps:
|
||||||
|
Loading…
Reference in New Issue
Block a user