Skip to content

feat: add action to check bucket name #10

feat: add action to check bucket name

feat: add action to check bucket name #10

name: Check bucket name
on:
workflow_dispatch:
pull_request:
paths:
- '**/*.sql'
jobs:
check_bucket_name:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Get changed files
id: get_files
uses: dorny/paths-filter@v2
with:
filters: |
allChanges:
- added|deleted|modified: '**'
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Run Python script
run: |
for file in ${{ steps.get_files.outputs.all_changes }}; do
echo $file
done
# - name: Check SQL files
# run: |
# python .github/workflows/scripts/check_sql_files.py