Skip to content

Commit 1ad3785

Browse files
authored
Merge branch 'main' into warning-gemfile
2 parents 1e9bc18 + cd94e91 commit 1ad3785

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.github/workflows/shellcheck.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
pull_request:
55
paths:
66
- '**.sh'
7+
# this is too wide but will cover shell scripts without an extension in that folder
8+
- 'bin/*'
79

810
jobs:
911
shellcheck:

bin/record_expected_output

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ if [ "local" = "$1" ]; then
55
export PAGES_REPO_NWO=actions/jekyll-build-pages
66
export JEKYLL_BUILD_REVISION=JEKYLL_BUILD_REVISION
77

8-
for dir in $(ls test_projects)
8+
for dir in test_projects/*
99
do
10-
bundle exec github-pages build --verbose -s test_projects/$dir -d test_projects/$dir/_expected
10+
bundle exec github-pages build --verbose -s "test_projects/${dir}" -d "test_projects/${dir}/_expected"
1111
done
1212
else
1313
act -b -s GITHUB_TOKEN -j record-expected-output

entrypoint.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/bin/bash
22

3-
#######################################################################################################
3+
####################################################################################################
44
#
5-
# Calls github-pages executable to build the site using whitelisted plugins and supported configuration
5+
# Calls github-pages executable to build the site using allowed plugins and supported configuration
66
#
7-
#######################################################################################################
7+
####################################################################################################
88

99
set -o errexit
1010

0 commit comments

Comments
 (0)