Skip to content

Commit

Permalink
Lock the connectivity command
Browse files Browse the repository at this point in the history
Signed-off-by: Michi Mutsuzaki <[email protected]>
  • Loading branch information
michi-covalent committed Mar 23, 2024
1 parent 7d76cde commit 50508a5
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/dont-modify-connectivity.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Don't modify the connectivity command

on:
pull_request: {}

jobs:
check_changes:
name: Fail if the connectivity command is getting modified
runs-on: ubuntu-22.04
steps:
- name: Check if the connectivity command is getting modified
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: check
with:
filters: |
connectivity:
- 'connectivity/**'
- 'cli/connectivity.go'
- name: Fail if the connectivity command is getting modified
if: steps.check.outputs.connectivity == 'true'
run: |
echo "Don't modify the connectivity command. @michi-covalent is holding a lock."
exit 1

0 comments on commit 50508a5

Please sign in to comment.