Connectors up-to-date #14
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
name: Connectors up-to-date | |
concurrency: | |
group: ${{ github.workflow }} | |
cancel-in-progress: false | |
on: | |
schedule: | |
# Runs everyday Saturday at 12:00 UTC | |
- cron: "0 12 * * 6" | |
workflow_dispatch: | |
inputs: | |
connectors-options: | |
description: "Options to pass to the 'airbyte-ci connectors' command group." | |
default: "--concurrency=10 --language=python --language=low-code --language=manifest-only" | |
auto-merge: | |
description: "Whether to auto-merge the PRs created by the action." | |
default: "false" | |
jobs: | |
connectors_up_to_date: | |
name: Connectors up-to-date | |
runs-on: connector-nightly-xlarge | |
permissions: | |
pull-requests: write | |
timeout-minutes: 1440 # 24 hours | |
steps: | |
- name: Checkout Airbyte | |
uses: actions/checkout@v4 | |
- name: Run airbyte-ci connectors up-to-date | |
id: airbyte-ci-connectors-up-to-date | |
uses: ./.github/actions/run-airbyte-ci | |
with: | |
context: "master" | |
dagger_cloud_token: ${{ secrets.DAGGER_CLOUD_TOKEN_2 }} | |
docker_hub_password: ${{ secrets.DOCKER_HUB_PASSWORD }} | |
docker_hub_username: ${{ secrets.DOCKER_HUB_USERNAME }} | |
gcp_gsm_credentials: ${{ secrets.GCP_GSM_CREDENTIALS }} | |
gcs_credentials: ${{ secrets.METADATA_SERVICE_PROD_GCS_CREDENTIALS }} | |
github_token: ${{ secrets.GH_PAT_MAINTENANCE_OSS }} | |
sentry_dsn: ${{ secrets.SENTRY_AIRBYTE_CI_DSN }} | |
s3_build_cache_access_key_id: ${{ secrets.SELF_RUNNER_AWS_ACCESS_KEY_ID }} | |
s3_build_cache_secret_key: ${{ secrets.SELF_RUNNER_AWS_SECRET_ACCESS_KEY }} | |
subcommand: "connectors ${{ github.event.inputs.connectors-options || '--concurrency=10 --language=python --language=low-code --support-level=community --support-level=certified' }} up-to-date --ignore-connector=source-declarative-manifest --create-prs ${{ github.event.inputs.auto-merge == 'false' && '' || '--auto-merge' }}" |