Skip to content

Commit

Permalink
CI: skip some jobs when repo != containerd/containerd
Browse files Browse the repository at this point in the history
For running CI in a non-upstream repo

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
(cherry picked from commit fe0116e)
> Conflicts:
>	.github/workflows/ci.yml
>	.github/workflows/codeql.yml
>	.github/workflows/fuzz.yml
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
  • Loading branch information
AkihiroSuda committed Feb 10, 2023
1 parent 6c00831 commit d1253bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
#
project:
name: Project Checks
if: github.repository == 'containerd/containerd'
runs-on: ubuntu-18.04
timeout-minutes: 5

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:

jobs:
CodeQL-Build:
if: github.repository == 'containerd/containerd'

strategy:
fail-fast: false
Expand Down

0 comments on commit d1253bd

Please sign in to comment.