Skip to content

Commit

Permalink
connector code freeze GHA workflow (airbytehq#33670)
Browse files Browse the repository at this point in the history
  • Loading branch information
alafanechere authored and jatinyadav-cc committed Feb 26, 2024
1 parent 787d74b commit a6b2796
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/connector_code_freeze.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Connector Code freeze

on:
pull_request:
types:
- opened
- synchronize
- ready_for_review

jobs:
code-freeze-check:
name: Connector code freeze check

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

0 comments on commit a6b2796

Please sign in to comment.