Skip to content

Commit f2300b5

Browse files
authored
chore(zd): apply modelines and workflow conventions
* chore(zsh): apply standard modelines across plugins and libraries * ci(workflows): enforce concurrency and permissions rules --------- Co-authored-by: Salvydas Lukosius <ss-o@users.noreply.github.com>
1 parent 4eb8f5b commit f2300b5

3 files changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/test-matrix.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: "ZUnit (Zsh matrix)"
22

3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
37
on:
48
schedule:
59
- cron: "0 3 * * 3"

.github/workflows/test-native.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: "ZUnit (native)"
22

3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
37
permissions:
48
contents: read
59

docker/utils.zsh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/usr/bin/env zsh
2+
# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
3+
# vim: ft=zsh sw=2 ts=2 et
24

35
# Functions to wrap container setup and initialization.
46

0 commit comments

Comments
 (0)