File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22# This file is @generated by <https://github.com/liblaf/copier-shared>.
33# DO NOT EDIT!
44# prettier-ignore
5- _commit : c7900f6
5+ _commit : 569bd36
66_src_path : gh:liblaf/copier-share
77author_email : 30631553+liblaf@users.noreply.github.com
88author_name : liblaf
Original file line number Diff line number Diff line change 1+ # :schema https://mise.jdx.dev/schema/mise.json
2+ # This file is @generated by <https://github.com/liblaf/copier-shared>.
3+ # DO NOT EDIT!
4+
5+ [env ]
6+ _.file = " .env"
Original file line number Diff line number Diff line change 44
55export DIRENV_ROOT=" $PWD "
66
7- function find-sources() {
8- local starting=" $1 "
9- if [[ ! -d $starting ]]; then
10- return
11- fi
12- find " $starting " -name " *.sh" -type f
13- }
14-
15- readarray -t files < <(
16- find-sources " $PWD /.config/copier/direnv/"
17- find-sources " $PWD /.config/direnv/"
18- )
19-
20- readarray -t files < <(
21- for file in " ${files[@]} " ; do
22- name=" $( basename -- " $file " ) "
23- printf " %s\t%s\n" " $name " " $file "
24- done |
25- sort |
26- cut --fields=" 2"
27- )
28-
29- for file in " ${files[@]} " ; do
30- source_env_if_exists " $file "
31- done
7+ if [[ -d " $PWD /.config/direnv/" ]]; then
8+ find " $PWD /.config/direnv/" -name " *.sh" -type f -print0 |
9+ sort --zero-terminated |
10+ while IFS= read -d ' ' -r file; do
11+ source_env_if_exists " $file "
12+ done
13+ fi
Original file line number Diff line number Diff line change @@ -32,12 +32,27 @@ jobs:
3232 workflow-file : ${{ steps.workflow.outputs.file }}
3333 github-token : ${{ github.token }}
3434
35+ skip-duplicate-actions :
36+ name : Skip Duplicate Actions
37+ runs-on : ubuntu-latest
38+ outputs :
39+ should-skip : ${{ steps.skip.outputs.should_skip }}
40+ steps :
41+ - id : skip
42+ name : Skip Duplicate Actions
43+ uses : fkirc/skip-duplicate-actions@v5
44+ with :
45+ concurrent_skipping : same_content_newer
46+
3547 mega-linter :
3648 name : MegaLinter
3749 permissions :
3850 contents : write # commit fix
3951 issues : write # ref: <https://megalinter.io/latest/reporters/GitHubCommentReporter/>
4052 pull-requests : write # ref: <https://megalinter.io/latest/reporters/GitHubCommentReporter/>
53+ needs :
54+ - skip-duplicate-actions
55+ if : needs.skip-duplicate-actions.outputs.should-skip != 'true'
4156 runs-on : ubuntu-latest
4257 concurrency :
4358 group : ${{ github.workflow }}-${{ github.ref }}-mega-linter
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments