diff --git a/.github/workflows/canopeum_backend_pr_validation.yml b/.github/workflows/canopeum_backend_pr_validation.yml index 48d33a3b9..20c03d78e 100644 --- a/.github/workflows/canopeum_backend_pr_validation.yml +++ b/.github/workflows/canopeum_backend_pr_validation.yml @@ -78,6 +78,7 @@ jobs: ref: ${{ github.event.pull_request.head.ref }} # Token with Contents permissions to allow retriggering workflow token: ${{ secrets.PR_AUTOFIX_PAT }} + - run: echo "${{github.event.head_commit.author.name}}" - uses: astral-sh/ruff-action@v1 with: args: check --fix @@ -86,7 +87,6 @@ jobs: if: !cancelled() with: args: format - - run: echo "${{github.event.head_commit.author.name}}" - name: Commit autofixes uses: EndBug/add-and-commit@v9 # Push autofixes even on failure & prevent infinite loops diff --git a/.github/workflows/canopeum_frontend_pr_validation.yml b/.github/workflows/canopeum_frontend_pr_validation.yml index 18f9ea3aa..0c554137c 100644 --- a/.github/workflows/canopeum_frontend_pr_validation.yml +++ b/.github/workflows/canopeum_frontend_pr_validation.yml @@ -30,10 +30,10 @@ jobs: ref: ${{ github.event.pull_request.head.ref }} # Token with Contents permissions to allow retriggering workflow token: ${{ secrets.PR_AUTOFIX_PAT }} + - run: echo "${{github.event.head_commit.author.name}}" - uses: actions/setup-node@v4 - run: npm ci - run: npm run lint:fix - - run: echo "${{github.event.head_commit.author.name}}" - name: Commit autofixes uses: EndBug/add-and-commit@v9 # Push autofixes even on failure & prevent infinite loops