diff --git a/.github/workflows/check-license.yml b/.github/workflows/check-license.yml index eef3969e..a5eb8ddc 100644 --- a/.github/workflows/check-license.yml +++ b/.github/workflows/check-license.yml @@ -46,20 +46,20 @@ jobs: pip install -r requirements.txt working-directory: tools - - name: execute py script (scheduled) # run the checklicense_openpr.py + - name: execute py script (scheduled) # run the check-license.py id: boilerplate-scheduled if: github.event_name == 'schedule' run: | - python checklicense_openpr.py + python check-license.py working-directory: tools - - name: execute py script (manual) # run the checklicense_openpr.py + - name: execute py script (manual) # run the check-license.py id: boilerplate-manual if: github.event_name == 'workflow_dispatch' run: | if [[ "${{ github.event.inputs.PRNumber }}" =~ ^[0-9]+$ ]] || [[ "${{ github.event.inputs.PRNumber }}" == "All" ]] then - python checklicense_openpr.py ${{ github.event.inputs.PRNumber }} + python check-license.py ${{ github.event.inputs.PRNumber }} else echo "INVALID PR Number ENTERED..." exit 1 diff --git a/.github/workflows/check-tf-plan.yml b/.github/workflows/check-tf-plan.yml index fdd69f2e..b6178593 100644 --- a/.github/workflows/check-tf-plan.yml +++ b/.github/workflows/check-tf-plan.yml @@ -61,20 +61,20 @@ jobs: pip install -r requirements.txt working-directory: tools - - name: execute py script (auto) # run the tf-plan.py + - name: execute py script (auto) # run the check-tf-plan.py id: tf-plan-auto if: github.event_name == 'pull_request' run: | - python tf-plan.py ${{ github.event.number }} + python check-tf-plan ${{ github.event.number }} working-directory: tools - - name: execute py script (manual) # run the tf-plan.py + - name: execute py script (manual) # run the check-tf-plan.py id: tf-plan-manual if: github.event_name == 'workflow_dispatch' run: | if [[ "${{ github.event.inputs.PRNumber }}" =~ ^[0-9]+$ ]] then - python tf-plan.py ${{ github.event.inputs.PRNumber }} + python check-tf-plan ${{ github.event.inputs.PRNumber }} else echo "INVALID PR Number ENTERED..." exit 1 diff --git a/.github/workflows/notifications.yml b/.github/workflows/notifications.yml index be6bbc97..cb3ef78e 100644 --- a/.github/workflows/notifications.yml +++ b/.github/workflows/notifications.yml @@ -40,10 +40,10 @@ jobs: pip install -r requirements.txt working-directory: tools - - name: execute py script # run the issue-notif.py + - name: execute py script # run the notifications.py env: WEBHOOK: ${{ secrets.WEBHOOK }} id: issue-notif run: | - python issue-notif.py + python notifications.py working-directory: tools diff --git a/tools/checklicense_openpr.py b/tools/check-license.py similarity index 100% rename from tools/checklicense_openpr.py rename to tools/check-license.py diff --git a/tools/tf-plan.py b/tools/check-tf-plan.py similarity index 100% rename from tools/tf-plan.py rename to tools/check-tf-plan.py diff --git a/tools/issue-notif.py b/tools/notifications.py similarity index 100% rename from tools/issue-notif.py rename to tools/notifications.py