mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-23 16:11:24 +01:00
Handling skipped but required checks (#18564)
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
This commit is contained in:
parent
e793e2433d
commit
9ba18f8fe6
8
.github/workflows/CI.yml
vendored
8
.github/workflows/CI.yml
vendored
@ -19,10 +19,18 @@ on:
|
||||
paths-ignore:
|
||||
- 'docs/**'
|
||||
- '**.md'
|
||||
- 'tests/**'
|
||||
- '!tests/**.sh'
|
||||
- '!tests/apitests/**'
|
||||
- '!tests/ci/**'
|
||||
push:
|
||||
paths-ignore:
|
||||
- 'docs/**'
|
||||
- '**.md'
|
||||
- 'tests/**'
|
||||
- '!tests/**.sh'
|
||||
- '!tests/apitests/**'
|
||||
- '!tests/ci/**'
|
||||
|
||||
jobs:
|
||||
UTTEST:
|
||||
|
10
.github/workflows/codeql-analysis.yml
vendored
10
.github/workflows/codeql-analysis.yml
vendored
@ -5,10 +5,18 @@ on:
|
||||
paths-ignore:
|
||||
- 'docs/**'
|
||||
- '**.md'
|
||||
- 'tests/**'
|
||||
- '!tests/**.sh'
|
||||
- '!tests/apitests/**'
|
||||
- '!tests/ci/**'
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- 'docs/**'
|
||||
- '**.md'
|
||||
- 'tests/**'
|
||||
- '!tests/**.sh'
|
||||
- '!tests/apitests/**'
|
||||
- '!tests/ci/**'
|
||||
schedule:
|
||||
- cron: '0 16 * * 6'
|
||||
|
||||
@ -29,7 +37,7 @@ jobs:
|
||||
# the head of the pull request instead of the merge commit.
|
||||
- run: git checkout HEAD^2
|
||||
if: ${{ github.event_name == 'pull_request' }}
|
||||
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v2
|
||||
|
25
.github/workflows/pass-CI.yml
vendored
Normal file
25
.github/workflows/pass-CI.yml
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- 'docs/**'
|
||||
- '**.md'
|
||||
- 'tests/**'
|
||||
- '!tests/**.sh'
|
||||
- '!tests/apitests/**'
|
||||
- '!tests/ci/**'
|
||||
push:
|
||||
paths:
|
||||
- 'docs/**'
|
||||
- '**.md'
|
||||
- 'tests/**'
|
||||
- '!tests/**.sh'
|
||||
- '!tests/apitests/**'
|
||||
- '!tests/ci/**'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: 'echo "No build required"'
|
25
.github/workflows/pass-codeql-analysis.yml
vendored
Normal file
25
.github/workflows/pass-codeql-analysis.yml
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
name: "Code scanning - action"
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- 'docs/**'
|
||||
- '**.md'
|
||||
- 'tests/**'
|
||||
- '!tests/**.sh'
|
||||
- '!tests/apitests/**'
|
||||
- '!tests/ci/**'
|
||||
pull_request:
|
||||
paths:
|
||||
- 'docs/**'
|
||||
- '**.md'
|
||||
- 'tests/**'
|
||||
- '!tests/**.sh'
|
||||
- '!tests/apitests/**'
|
||||
- '!tests/ci/**'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: 'echo "No build required"'
|
Loading…
Reference in New Issue
Block a user