-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into akash/lsn-investigate
- Loading branch information
Showing
176 changed files
with
5,901 additions
and
2,636 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
name: Automatic Formatting on PRs | ||
name: Fix formatting on a branch | ||
run-name: Fix formatting on ${{ github.ref }} | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
|
@@ -7,44 +8,24 @@ concurrency: | |
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
jobs: | ||
format-fix: | ||
runs-on: "ci-runner-connector-format-medium-dagger-0-6-4" | ||
name: "Apply All Formatting Rules" | ||
timeout-minutes: 40 | ||
name: "Run airbyte-ci format fix all" | ||
steps: | ||
- name: Checkout Airbyte | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
ref: ${{ github.ref }} | ||
# Important that this is set so that CI checks are triggered again | ||
# Without this we would be forever waiting on required checks to pass | ||
token: ${{ secrets.GH_PAT_APPROVINGTON_OCTAVIA }} | ||
|
||
# IMPORTANT! This is necessary to make sure that a status is reported on the PR | ||
# even if the workflow is skipped. If we used GitHub Actions filters, the workflow | ||
# would not be reported as skipped, but instead would be forever pending. | ||
# | ||
# I KNOW THIS SOUNDS CRAZY, BUT IT IS TRUE. | ||
# | ||
# Also, it gets worse | ||
# | ||
# IMPORTANT! DO NOT CHANGE THE QUOTES AROUND THE GLOBS. THEY ARE REQUIRED. | ||
# MAKE SURE TO TEST ANY SYNTAX CHANGES BEFORE MERGING. | ||
- name: Get changed files | ||
uses: tj-actions/changed-files@v39 | ||
id: changes | ||
with: | ||
files_yaml: | | ||
format: | ||
- '**/*' | ||
- '!**/*.md' | ||
- name: Run airbyte-ci format fix all | ||
uses: ./.github/actions/run-dagger-pipeline | ||
continue-on-error: true | ||
with: | ||
context: "pull_request" | ||
context: "manual" | ||
docker_hub_password: ${{ secrets.DOCKER_HUB_PASSWORD }} | ||
docker_hub_username: ${{ secrets.DOCKER_HUB_USERNAME }} | ||
gcs_credentials: ${{ secrets.METADATA_SERVICE_PROD_GCS_CREDENTIALS }} | ||
|
@@ -55,27 +36,13 @@ jobs: | |
|
||
# This is helpful in the case that we change a previously committed generated file to be ignored by git. | ||
- name: Remove any files that have been gitignored | ||
if: always() | ||
run: git ls-files -i -c --exclude-from=.gitignore | xargs -r git rm --cached | ||
|
||
- name: Commit Formatting Changes (PR) | ||
uses: stefanzweifel/git-auto-commit-action@v5 | ||
# do not commit if master branch | ||
if: github.ref != 'refs/heads/master' && always() | ||
# Don't commit if we're on master | ||
if: github.ref != 'refs/heads/master' | ||
with: | ||
commit_message: Automated Commit - Formatting Changes | ||
commit_message: "chore: format code" | ||
commit_user_name: Octavia Squidington III | ||
commit_user_email: [email protected] | ||
|
||
- name: Run airbyte-ci format check all | ||
if: always() | ||
uses: ./.github/actions/run-dagger-pipeline | ||
with: | ||
context: "pull_request" | ||
docker_hub_password: ${{ secrets.DOCKER_HUB_PASSWORD }} | ||
docker_hub_username: ${{ secrets.DOCKER_HUB_USERNAME }} | ||
gcs_credentials: ${{ secrets.METADATA_SERVICE_PROD_GCS_CREDENTIALS }} | ||
sentry_dsn: ${{ secrets.SENTRY_AIRBYTE_CI_DSN }} | ||
github_token: ${{ secrets.GH_PAT_MAINTENANCE_OCTAVIA }} | ||
tailscale_auth_key: ${{ secrets.TAILSCALE_AUTH_KEY }} | ||
subcommand: "format check all" |
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 |
---|---|---|
|
@@ -8,4 +8,3 @@ repos: | |
name: Run airbyte-ci format fix on git push (~30s) | ||
pass_filenames: false | ||
stages: [push] | ||
verbose: true |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[bumpversion] | ||
current_version = 0.56.1 | ||
current_version = 0.57.1 | ||
commit = False | ||
|
||
[bumpversion:file:setup.py] | ||
|
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.