Skip to content

Commit b1d82ad

Browse files
committed
📦 Support scm
1 parent 5633cdd commit b1d82ad

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

.github/workflows/main.yml

+9-4
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@
88
- "**.md"
99
workflow_dispatch:
1010

11-
# https://github.com/softprops/action-gh-release/issues/236
12-
permissions:
13-
contents: write
14-
1511
jobs:
1612
build:
1713
runs-on: ubuntu-latest
@@ -20,6 +16,15 @@ jobs:
2016
- uses: nvim-neorocks/luarocks-tag-release@v5
2117
env:
2218
LUAROCKS_API_KEY: ${{secrets.LUAROCKS_API_KEY}}
19+
if: "! startsWith(github.ref, 'refs/tags/')"
20+
with:
21+
template: template.rockspec
22+
name: prompt-style
23+
version: scm
24+
- uses: nvim-neorocks/luarocks-tag-release@v5
25+
env:
26+
LUAROCKS_API_KEY: ${{secrets.LUAROCKS_API_KEY}}
27+
if: startsWith(github.ref, 'refs/tags/')
2328
with:
2429
template: template.rockspec
2530
name: prompt-style

.mailmap

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Wu Zhenyu <[email protected]> Wu, Zhenyu <[email protected]>

.pre-commit-config.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,12 @@ repos:
7373
additional_dependencies:
7474
- markdown-it-texmath
7575
- repo: https://github.com/astral-sh/ruff-pre-commit
76-
rev: v0.4.8
76+
rev: v0.4.9
7777
hooks:
7878
- id: ruff
7979
- id: ruff-format
8080
- repo: https://github.com/kumaraditya303/mirrors-pyright
81-
rev: v1.1.366
81+
rev: v1.1.367
8282
hooks:
8383
- id: pyright
8484
- repo: https://github.com/lunarmodules/luacheck

0 commit comments

Comments
 (0)