-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
connector code freeze GHA workflow (#33670)
- Loading branch information
1 parent
894cadc
commit 19ffd4e
Showing
1 changed file
with
26 additions
and
0 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
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 |