Skip to content

connector code freeze GHA workflow #1

connector code freeze GHA workflow

connector code freeze GHA workflow #1

name: Connector Code freeze
on:
pull_request:
types:
- opened
- synchronize
- ready_for_review
jobs:
code-freeze-check:
name: Connector code freeze check

Check failure on line 12 in .github/workflows/connector_code_freeze.yml

View workflow run for this annotation

GitHub Actions / Connector Code freeze

Invalid workflow file

The workflow is not valid. .github/workflows/connector_code_freeze.yml (Line: 12, Col: 5): Required property is missing: runs-on
steps:
- name: Checkout Airbyte
uses: actions/checkout@v3
- name: Get changed files
uses: tj-actions/changed-files@v39
with:
files_yaml: |
connectors:
- 'airbyte-integration/connectors/**'
- '!**/*.md'
- name: Fail workflow if connector files was changed
if: steps.changes.outputs.connectors_any_changed == 'true'
run: echo "Connector code freeze is in effect. Please contact the current OC engineers if you want to merge this change." && exit 1