mirror of https://github.com/goharbor/harbor.git
Handling skipped but required checks (#18564)
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
This commit is contained in:
parent
e793e2433d
commit
9ba18f8fe6
|
@ -19,10 +19,18 @@ on:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- 'docs/**'
|
- 'docs/**'
|
||||||
- '**.md'
|
- '**.md'
|
||||||
|
- 'tests/**'
|
||||||
|
- '!tests/**.sh'
|
||||||
|
- '!tests/apitests/**'
|
||||||
|
- '!tests/ci/**'
|
||||||
push:
|
push:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- 'docs/**'
|
- 'docs/**'
|
||||||
- '**.md'
|
- '**.md'
|
||||||
|
- 'tests/**'
|
||||||
|
- '!tests/**.sh'
|
||||||
|
- '!tests/apitests/**'
|
||||||
|
- '!tests/ci/**'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
UTTEST:
|
UTTEST:
|
||||||
|
|
|
@ -5,10 +5,18 @@ on:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- 'docs/**'
|
- 'docs/**'
|
||||||
- '**.md'
|
- '**.md'
|
||||||
|
- 'tests/**'
|
||||||
|
- '!tests/**.sh'
|
||||||
|
- '!tests/apitests/**'
|
||||||
|
- '!tests/ci/**'
|
||||||
pull_request:
|
pull_request:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- 'docs/**'
|
- 'docs/**'
|
||||||
- '**.md'
|
- '**.md'
|
||||||
|
- 'tests/**'
|
||||||
|
- '!tests/**.sh'
|
||||||
|
- '!tests/apitests/**'
|
||||||
|
- '!tests/ci/**'
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 16 * * 6'
|
- cron: '0 16 * * 6'
|
||||||
|
|
||||||
|
@ -29,7 +37,7 @@ jobs:
|
||||||
# the head of the pull request instead of the merge commit.
|
# the head of the pull request instead of the merge commit.
|
||||||
- run: git checkout HEAD^2
|
- run: git checkout HEAD^2
|
||||||
if: ${{ github.event_name == 'pull_request' }}
|
if: ${{ github.event_name == 'pull_request' }}
|
||||||
|
|
||||||
# Initializes the CodeQL tools for scanning.
|
# Initializes the CodeQL tools for scanning.
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
uses: github/codeql-action/init@v2
|
uses: github/codeql-action/init@v2
|
||||||
|
|
|
@ -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"'
|
|
@ -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