diff --git a/.github/workflows/auto-update-app-headers.yml b/.github/workflows/auto-update-app-headers.yml index 7d221e1..1894137 100644 --- a/.github/workflows/auto-update-app-headers.yml +++ b/.github/workflows/auto-update-app-headers.yml @@ -105,10 +105,10 @@ jobs: run: | git config --global user.name "github-actions-automege[bot]" git config --global user.email "github-actions-automege[bot]@users.noreply.github.com" - PR_NUMBER=$(gh pr list --head "${BRANCH_NAME}" --json number --jq '.[].number') + PR_NUMBER=$(gh pr list --head "${BRANCH_NAME}" --json number --jq '.[0].number') if [ -n "$PR_NUMBER" ]; then - gh pr review $PR_NUMBER --approve - gh pr merge $PR_NUMBER --squash --admin + gh pr review "$PR_NUMBER" --approve + gh pr merge "$PR_NUMBER" --squash --admin fi # Step 8: Output success message when no changes diff --git a/ct/headers/odoo b/ct/headers/odoo deleted file mode 100644 index e375aea..0000000 --- a/ct/headers/odoo +++ /dev/null @@ -1,6 +0,0 @@ - ____ __ - / __ \____/ /___ ____ - / / / / __ / __ \/ __ \ -/ /_/ / /_/ / /_/ / /_/ / -\____/\__,_/\____/\____/ -