From c7f2ddb3aca85fb3527fb3a93f7bac213ced71d3 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Tue, 3 Feb 2026 18:08:46 -0500 Subject: [PATCH 1/2] feat(ci): support luarocks versioning deployment --- .github/workflows/luarocks.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/luarocks.yml b/.github/workflows/luarocks.yml index db2b307b..8dce98d3 100644 --- a/.github/workflows/luarocks.yml +++ b/.github/workflows/luarocks.yml @@ -1,6 +1,9 @@ name: Push to Luarocks on: + push: + tags: + - "v*" schedule: - cron: "0 0 * * *" workflow_dispatch: @@ -15,6 +18,5 @@ jobs: env: LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }} with: - version: "scm" - extra_luarocks_args: | - --force + version: ${{ github.ref_type == 'tag' && github.ref_name || 'scm' }} + extra_luarocks_args: ${{ github.ref_type != 'tag' && '--force' || '' }} From e471d4ff68f76bfc2e3cf1a2baeced1e7d400e43 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 3 Feb 2026 23:12:26 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .github/workflows/luarocks.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/luarocks.yml b/.github/workflows/luarocks.yml index 8dce98d3..b502a878 100644 --- a/.github/workflows/luarocks.yml +++ b/.github/workflows/luarocks.yml @@ -19,4 +19,5 @@ jobs: LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }} with: version: ${{ github.ref_type == 'tag' && github.ref_name || 'scm' }} - extra_luarocks_args: ${{ github.ref_type != 'tag' && '--force' || '' }} + extra_luarocks_args: + ${{ github.ref_type != 'tag' && '--force' || '' }}