From 0675c55272785ef7b9ed945697e847ffb819843f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Renato=20Foot=20Guimar=C3=A3es=20Costallat?= Date: Thu, 15 Aug 2024 00:10:40 -0300 Subject: [PATCH] Add lua format workflow (#2818) Small fix to see if now it gets the changes from the PR --- .github/workflows/lua-format-workflow.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lua-format-workflow.yml b/.github/workflows/lua-format-workflow.yml index c0d9913e44f..54fdbf3130e 100644 --- a/.github/workflows/lua-format-workflow.yml +++ b/.github/workflows/lua-format-workflow.yml @@ -18,7 +18,8 @@ jobs: - name: Actions checkout uses: actions/checkout@v3 with: - ref: ${{ github.event.pull_request.head.ref }} + repository: ${{ github.event.workflow_run.head_repository }} + ref: ${{ github.event.workflow_run.head_sha }} token: ${{ secrets.GITHUB_TOKEN }} - uses: JohnnyMorganz/stylua-action@v3