Merge pull request #8082 from AkihiroSuda/ci-skip-on-fork

CI: skip some jobs when `repo != containerd/containerd`
This commit is contained in:
Derek McGowan 2023-02-10 08:35:51 -08:00 committed by GitHub
commit fdfdc9bfc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 0 deletions

View File

@ -56,6 +56,7 @@ jobs:
#
project:
name: Project Checks
if: github.repository == 'containerd/containerd'
runs-on: ubuntu-20.04
timeout-minutes: 5

View File

@ -15,6 +15,7 @@ permissions: # added using https://github.com/step-security/secure-workflows
jobs:
CodeQL-Build:
if: github.repository == 'containerd/containerd'
permissions:
actions: read # for github/codeql-action/init to get workflow details
contents: read # for actions/checkout to fetch code

View File

@ -8,6 +8,7 @@ jobs:
# Others use https://github.com/AdaLogics/go-fuzz-headers.
ci_fuzz:
name: CI Fuzz
if: github.repository == 'containerd/containerd'
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
@ -35,6 +36,7 @@ jobs:
# runnable with go test -fuzz.
go_test_fuzz:
name : go test -fuzz
if: github.repository == 'containerd/containerd'
runs-on: ubuntu-latest
timeout-minutes: 30
steps: