Skip to content

Commit

Permalink
[MAINTENANCE] Prettier yaml formatting (#9562)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
Kilo59 and pre-commit-ci[bot] committed Mar 4, 2024
1 parent 7b71f9b commit 179c974
Show file tree
Hide file tree
Showing 80 changed files with 1,047 additions and 1,090 deletions.
82 changes: 41 additions & 41 deletions .github/teams.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,50 +2,50 @@
# NOTE - this should be kept in sync with the GX org's teams

dx:
- '@Shinnnyshinshin' # Will Shin
- '@anthonyburdi' # Anthony Burdi
- "@Shinnnyshinshin" # Will Shin
- "@anthonyburdi" # Anthony Burdi

devrel:
- '@Rachel-Reverie' # Rachel Reverie
- '@austiezr' # Austin Robinson
- '@kwcanuck' # Rob Gray
- '@kyleaton' # Kyle Eaton
- '@rachhouse' # Rachel House
- '@talagluck' # Tal Gluck
- '@r34ctor' # Nevin Tan
- "@Rachel-Reverie" # Rachel Reverie
- "@austiezr" # Austin Robinson
- "@kwcanuck" # Rob Gray
- "@kyleaton" # Kyle Eaton
- "@rachhouse" # Rachel House
- "@talagluck" # Tal Gluck
- "@r34ctor" # Nevin Tan

core:
- '@DrewHoo' # Drew Hoover
- '@Erin-GX' # Erin Kapp
- '@HaebichanGX' # Haebichan Jung
- '@JennyTee' # Jenny Terlinden
- '@Kilo59' # Gabriel Gore
- '@NathanFarmer' # Nathan Farmer
- '@Shinnnyshinshin' # Will Shin
- '@Super-Tanner' # Tanner Beam
- '@TrangPham' # Thu Pham
- '@abegong' # Abe Gong
- '@allensallinger' # Allen Sallinger
- '@anthonyburdi' # Anthony Burdi
- '@billdirks' # Bill Dirks
- '@cdkini' # Chetan Kini
- '@dctalbot' # David Talbot
- '@donaldheppner' # Don Heppner
- '@elenajdanova' # Elena Jdanova
- '@jcampbell' # James Campbell
- '@josectobar' # JosΓ© Tobar
- '@joshua-stauffer' # Josh Stauffer
- '@joshzzheng' # Josh Zheng
- '@jshaikGX' # Javed Shaik
- '@lockettks' # Kim Mathieu
- '@nicgrayson' # Nic Grayson
- '@roblim' # Rob Lim
- '@rreinoldsc' # Robby Reinold
- '@sujensen' # Susan Jensen
- '@tyler-hoffman' # Tyler Hoffman
- '@wookasz' # Łukasz Lempart
- "@DrewHoo" # Drew Hoover
- "@Erin-GX" # Erin Kapp
- "@HaebichanGX" # Haebichan Jung
- "@JennyTee" # Jenny Terlinden
- "@Kilo59" # Gabriel Gore
- "@NathanFarmer" # Nathan Farmer
- "@Shinnnyshinshin" # Will Shin
- "@Super-Tanner" # Tanner Beam
- "@TrangPham" # Thu Pham
- "@abegong" # Abe Gong
- "@allensallinger" # Allen Sallinger
- "@anthonyburdi" # Anthony Burdi
- "@billdirks" # Bill Dirks
- "@cdkini" # Chetan Kini
- "@dctalbot" # David Talbot
- "@donaldheppner" # Don Heppner
- "@elenajdanova" # Elena Jdanova
- "@jcampbell" # James Campbell
- "@josectobar" # JosΓ© Tobar
- "@joshua-stauffer" # Josh Stauffer
- "@joshzzheng" # Josh Zheng
- "@jshaikGX" # Javed Shaik
- "@lockettks" # Kim Mathieu
- "@nicgrayson" # Nic Grayson
- "@roblim" # Rob Lim
- "@rreinoldsc" # Robby Reinold
- "@sujensen" # Susan Jensen
- "@tyler-hoffman" # Tyler Hoffman
- "@wookasz" # Łukasz Lempart

bot:
- '@dependabot'
- '@dependabot[bot]'
- '@pre-commit-ci[bot]'
- "@dependabot"
- "@dependabot[bot]"
- "@pre-commit-ci[bot]"
85 changes: 43 additions & 42 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ on:
schedule:
# https://crontab.guru/every-3-hours
- cron: "0 */3 * * *"
workflow_dispatch: # allows manual triggering with branch picker
workflow_dispatch: # allows manual triggering with branch picker
push:
# Semantic versioning syntax defined by PyPI: https://pythonpackaging.info/07-Package-Release.html#Versioning-your-code
tags:
# Stable release syntax
- '[0-9]+.[0-9]+.[0-9]+'
- "[0-9]+.[0-9]+.[0-9]+"
# Prerelease syntax
- '[0-9]+.[0-9]+.[0-9]+a[0-9]+'
- '[0-9]+.[0-9]+.[0-9]+b[0-9]+'
- '[0-9]+.[0-9]+.[0-9]+rc[0-9]+'
- "[0-9]+.[0-9]+.[0-9]+a[0-9]+"
- "[0-9]+.[0-9]+.[0-9]+b[0-9]+"
- "[0-9]+.[0-9]+.[0-9]+rc[0-9]+"

concurrency:
# Only run one instance of this workflow in PRs, but allow multiple instances in develop.
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
GE_TEST_GCP_CREDENTIALS: ${{secrets.GE_TEST_GCP_CREDENTIALS}}
GE_TEST_GCP_PROJECT: ${{secrets.GE_TEST_GCP_PROJECT}}
GE_TEST_BIGQUERY_DATASET: ${{secrets.GE_TEST_BIGQUERY_DATASET}}
GOOGLE_APPLICATION_CREDENTIALS: 'gcp-credentials.json'
GOOGLE_APPLICATION_CREDENTIALS: "gcp-credentials.json"
# aws
AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}}
AWS_DEFAULT_REGION: ${{secrets.AWS_DEFAULT_REGION}}
Expand Down Expand Up @@ -309,12 +309,11 @@ jobs:
- name: Run the tests
run: invoke ci-tests 'cloud' --up-services --verbose


marker-tests:
needs: [unit-tests, static-analysis]
if: github.event.pull_request.draft == false
env:
# aws
# aws
AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}}
AWS_DEFAULT_REGION: ${{secrets.AWS_DEFAULT_REGION}}
AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}}
Expand Down Expand Up @@ -509,22 +508,23 @@ jobs:
run: python -c "import great_expectations as gx; print('Successfully imported GX Version:', gx.__version__)"

build-n-publish:
needs: [
ci-is-on-main-repo,
doc-checks,
static-analysis,
docs-snippets,
unit-tests,
cloud-tests,
marker-tests,
py38-min-versions,
py39-min-versions,
py310-min-versions,
py311-min-versions,
pydantic-v1,
airflow-min-versions,
import_gx,
]
needs:
[
ci-is-on-main-repo,
doc-checks,
static-analysis,
docs-snippets,
unit-tests,
cloud-tests,
marker-tests,
py38-min-versions,
py39-min-versions,
py310-min-versions,
py311-min-versions,
pydantic-v1,
airflow-min-versions,
import_gx,
]
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
name: Build and publish Python distributions to PyPI
runs-on: ubuntu-latest
Expand All @@ -538,7 +538,7 @@ jobs:
- name: Set up Python 3.8
uses: actions/setup-python@v3
with:
python-version: '3.8'
python-version: "3.8"
- name: Update pip
run: python -m pip install --upgrade pip
- name: Install Twine and Wheel, and prepare packaging
Expand All @@ -556,23 +556,24 @@ jobs:
skip-existing: true # prevent against pushing duplicate versions

notify_on_failure:
needs: [
ci-is-on-main-repo,
doc-checks,
static-analysis,
docs-snippets,
unit-tests,
cloud-tests,
marker-tests,
py38-min-versions,
py39-min-versions,
py310-min-versions,
py311-min-versions,
pydantic-v1,
airflow-min-versions,
import_gx,
build-n-publish
]
needs:
[
ci-is-on-main-repo,
doc-checks,
static-analysis,
docs-snippets,
unit-tests,
cloud-tests,
marker-tests,
py38-min-versions,
py39-min-versions,
py310-min-versions,
py311-min-versions,
pydantic-v1,
airflow-min-versions,
import_gx,
build-n-publish,
]
if: always() && !cancelled() && contains(needs.*.result, 'failure') && github.event_name != 'pull_request' && github.event_name != 'merge_group'
runs-on: ubuntu-latest
steps:
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/pr-title-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
check:
runs-on: ubuntu-latest
steps:
- name : Check PR title validity
run: |
echo "${{ github.event.pull_request.title }}" | grep -E "^\\[(FEATURE|BUGFIX|DOCS|MAINTENANCE|CONTRIB|RELEASE)\\]"
if [ $? -ne 0 ]; then
echo "Invalid PR title - please prefix with one of: [FEATURE] | [BUGFIX] | [DOCS] | [MAINTENANCE] | [CONTRIB] | [RELEASE]"
exit 1
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Check PR title validity
run: |
echo "${{ github.event.pull_request.title }}" | grep -E "^\\[(FEATURE|BUGFIX|DOCS|MAINTENANCE|CONTRIB|RELEASE)\\]"
if [ $? -ne 0 ]; then
echo "Invalid PR title - please prefix with one of: [FEATURE] | [BUGFIX] | [DOCS] | [MAINTENANCE] | [CONTRIB] | [RELEASE]"
exit 1
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
70 changes: 35 additions & 35 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,67 +4,67 @@
name: StaleBot

on:
workflow_dispatch: # https://docs.github.com/en/actions/using-workflows/triggering-a-workflow#defining-inputs-for-manually-triggered-workflows
workflow_dispatch: # https://docs.github.com/en/actions/using-workflows/triggering-a-workflow#defining-inputs-for-manually-triggered-workflows
# schedule:
# - cron: '30 1 * * *'
# - cron: '30 1 * * *'

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v5
with:
# General
repo-token: ${{ secrets.GITHUB_TOKEN }}
operations-per-run: 1000
days-before-stale: 30
days-before-close: 60
days-before-pr-stale: -1
days-before-pr-close: -1
- uses: actions/stale@v5
with:
# General
repo-token: ${{ secrets.GITHUB_TOKEN }}
operations-per-run: 1000
days-before-stale: 30
days-before-close: 60
days-before-pr-stale: -1
days-before-pr-close: -1

# Scope
only-pr-labels: community
only-issue-labels: community
exempt-issue-labels: core-team, core-engineering-queue, documentation, triage, "help wanted", "DevRel Triage"
# exempt-pr-labels: "example label" # This needs to be reviewed if we move to staling PRs
# Scope
only-pr-labels: community
only-issue-labels: community
exempt-issue-labels: core-team, core-engineering-queue, documentation, triage, "help wanted", "DevRel Triage"
# exempt-pr-labels: "example label" # This needs to be reviewed if we move to staling PRs

# Issue messages
stale-issue-message: >
Is this issue still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
# Issue messages
stale-issue-message: >
Is this issue still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity.
This issue has been automatically marked as stale because it has not had recent activity.
It will be closed if no further activity occurs. Thank you for your contributions πŸ™‡
It will be closed if no further activity occurs. Thank you for your contributions πŸ™‡
close-issue-message: >
We are closing this issue due to inactivity.
close-issue-message: >
We are closing this issue due to inactivity.
This action is done automatically by StaleBot.
This action is done automatically by StaleBot.
Please validate this is still an issue, and create a new issue with up-to-date information if any problem presists πŸ™‚
Please validate this is still an issue, and create a new issue with up-to-date information if any problem presists πŸ™‚
Please reach out if you need anything further. πŸ™‚
Please reach out if you need anything further. πŸ™‚
# PR Messages
stale-pr-message: >
Is this PR still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
# PR Messages
stale-pr-message: >
Is this PR still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity.
This issue has been automatically marked as stale because it has not had recent activity.
It will be closed if no further activity occurs. Thank you for your contributions πŸ™‡
It will be closed if no further activity occurs. Thank you for your contributions πŸ™‡
close-pr-message: >
We are closing this PR due to inacitvity.
close-pr-message: >
We are closing this PR due to inacitvity.
This action is done automatically by StaleBot.
This action is done automatically by StaleBot.
Please reach out if you need anything further. πŸ™‚
Please reach out if you need anything further. πŸ™‚
11 changes: 5 additions & 6 deletions .github/workflows/test-pep273-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,20 @@ on:
types:
- opened
branches:
- 'main'
- "main"
schedule:
- cron: "0 0 * * *"

jobs:
run:
name: '[${{matrix.type}}, ${{matrix.os}}, py${{matrix.python}}]'
runs-on: '${{ matrix.os }}'
name: "[${{matrix.type}}, ${{matrix.os}}, py${{matrix.python}}]"
runs-on: "${{ matrix.os }}"
strategy:
matrix:
python: [ 3.7, 3.8, 3.9 ]
os: [ ubuntu-20.04, windows-2019 ]
python: [3.7, 3.8, 3.9]
os: [ubuntu-20.04, windows-2019]
type: [directory, zip]


fail-fast: false

steps:
Expand Down

0 comments on commit 179c974

Please sign in to comment.