-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Don't run CI on draft PRs (twice)
- Loading branch information
Showing
3 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ jobs: | |
gitlab-ci: | ||
name: Internal Gitlab CI | ||
runs-on: ubuntu-22.04 | ||
if: github.event.pull_request.draft == false | ||
steps: | ||
- name: Check Gitlab CI | ||
uses: pulp-platform/pulp-actions/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,7 @@ jobs: | |
verible-lint: | ||
name: Lint Verilog sources | ||
runs-on: ubuntu-latest | ||
if: github.event.pull_request.draft == false | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: chipsalliance/verible-linter-action@main | ||
|
@@ -32,6 +33,7 @@ jobs: | |
bender-vendor-up-to-date: | ||
name: Check bender vendor up-to-date | ||
runs-on: ubuntu-latest | ||
if: github.event.pull_request.draft == false | ||
steps: | ||
- name: Check bender vendor up-to-date | ||
uses: pulp-platform/pulp-actions/[email protected] | ||
|
@@ -42,6 +44,7 @@ jobs: | |
sources-up-to-date: | ||
name: Check Sources Up-to-Date | ||
runs-on: ubuntu-22.04 | ||
if: github.event.pull_request.draft == false | ||
container: | ||
image: ghcr.io/pulp-platform/snitch_cluster:pyproject | ||
steps: | ||
|
@@ -74,6 +77,7 @@ jobs: | |
license-lint: | ||
name: Check License headers | ||
runs-on: ubuntu-latest | ||
if: github.event.pull_request.draft == false | ||
steps: | ||
- name: Check License | ||
uses: pulp-platform/pulp-actions/[email protected] | ||
|
@@ -97,6 +101,7 @@ jobs: | |
yaml-lint: | ||
name: Lint YAML Sources | ||
runs-on: ubuntu-latest | ||
if: github.event.pull_request.draft == false | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: yaml-lint | ||
|
@@ -109,6 +114,7 @@ jobs: | |
######################## | ||
python-lint: | ||
runs-on: ubuntu-latest | ||
if: github.event.pull_request.draft == false | ||
name: Lint Python Sources | ||
steps: | ||
- name: Check out source repository | ||
|
@@ -130,6 +136,7 @@ jobs: | |
clangfmt: | ||
name: Lint C/C++ Sources | ||
runs-on: ubuntu-latest | ||
if: github.event.pull_request.draft == false | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: DoozyX/[email protected] | ||
|
@@ -143,6 +150,7 @@ jobs: | |
editorconfig-lint: | ||
name: Lint Editorconfig | ||
runs-on: ubuntu-latest | ||
if: github.event.pull_request.draft == false | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: editorconfig-checker/action-editorconfig-checker@main | ||
|