-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'apache:master' into guenp/add-token-request-button
- Loading branch information
Showing
15 changed files
with
146 additions
and
64 deletions.
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
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
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 |
---|---|---|
@@ -0,0 +1,96 @@ | ||
# no-op.yml | ||
# | ||
# Purpose: | ||
# This workflow provides a workaround for the "required status checks" feature in GitHub Actions | ||
# when using path-specific conditions in other workflows. Required checks might remain in a "Pending" | ||
# state if the conditions are not met, thus blocking pull requests from being merged. | ||
# This no-op (no operation) workflow provides dummy success statuses for these required jobs when | ||
# the real jobs do not run due to path-specific conditions. | ||
# | ||
# How it works: | ||
# - It defines jobs with the same names as the required jobs in the main workflows. | ||
# - These jobs simply execute a command (`exit 0`) to succeed immediately. | ||
# - When a pull request is created or updated, both this no-op workflow and the main workflows are triggered. | ||
# - If the main workflows' jobs don't run (due to path conditions), these no-op jobs provide successful statuses. | ||
# - If the main workflows' jobs do run and fail, their failure statuses take precedence, | ||
# ensuring that pull requests are not merged with failing checks. | ||
# | ||
# Usage: | ||
# - Ensure that the job names in this workflow match exactly the names of the corresponding jobs in the main workflows. | ||
# - This workflow should be kept as-is, without path-specific conditions. | ||
|
||
name: no-op Checks | ||
on: pull_request | ||
|
||
jobs: | ||
frontend-build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: No-op for frontend-build | ||
run: exit 0 | ||
|
||
pre-commit: | ||
strategy: | ||
matrix: | ||
python-version: ["3.10"] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: No-op for pre-commit | ||
run: exit 0 | ||
|
||
python-lint: | ||
strategy: | ||
matrix: | ||
python-version: ["3.10"] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: No-op for python-lint | ||
run: exit 0 | ||
test-postgres-hive: | ||
strategy: | ||
matrix: | ||
python-version: ["3.10"] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: No-op for frontend-build | ||
run: exit 0 | ||
test-postgres-presto: | ||
strategy: | ||
matrix: | ||
python-version: ["3.10"] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: No-op for frontend-build | ||
run: exit 0 | ||
unit-tests: | ||
strategy: | ||
matrix: | ||
python-version: ["3.10"] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: No-op for frontend-build | ||
run: exit 0 | ||
test-mysql: | ||
strategy: | ||
matrix: | ||
python-version: ["3.10"] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: No-op for test-mysql | ||
run: exit 0 | ||
test-postgres: | ||
strategy: | ||
matrix: | ||
python-version: ["3.10", "3.11"] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: No-op for test-postgres | ||
run: exit 0 | ||
test-sqlite: | ||
strategy: | ||
matrix: | ||
python-version: ["3.10"] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: No-op for test-sqlite | ||
run: exit 0 |
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
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 |
---|---|---|
|
@@ -6,7 +6,6 @@ on: | |
- "docs/**" | ||
branches: | ||
- "master" | ||
- "[0-9].[0-9]" | ||
|
||
jobs: | ||
config: | ||
|
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
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
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
Oops, something went wrong.