Skip to content

Commit 4fe4e65

Browse files
committed
actionlint fixes
1 parent 326c2cf commit 4fe4e65

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/process_docs_changes.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/checkout@v4
1919

2020
- name: Set current branch name
21-
run: echo "LOCAL_REPO_BRANCH=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_ENV
21+
run: echo "LOCAL_REPO_BRANCH=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> "$GITHUB_ENV"
2222

2323
- name: echo branch name
2424
run: |
@@ -35,7 +35,7 @@ jobs:
3535

3636
- name: Filter non-documented branches
3737
run: |
38-
bb script/check_incoming_branchname.clj $MAIN_REPO_BRANCH
38+
bb script/check_incoming_branchname.clj "$MAIN_REPO_BRANCH"
3939
4040
- name: Install js dependencies
4141
run: yarn install --frozen-lockfile --prefer-offline
@@ -51,7 +51,7 @@ jobs:
5151
5252
- name: Update docs for branchname
5353
run: |
54-
bb script/update_docs_for_branchname.clj branchname
54+
bb script/update_docs_for_branchname.clj "$MAIN_REPO_BRANCH"
5555
5656
- name: Update docs
5757
run: |
@@ -87,7 +87,7 @@ jobs:
8787
run: |
8888
script/links || true
8989
echo 'checking reported links...'
90-
echo "htmlproofer spit out a report of length: $(cat htmlproofer.out | wc -l)"
90+
echo "htmlproofer spit out a report of length: $(wc -l < htmlproofer.out)"
9191
bb script/analyze_links.clj --htmlproofer-output htmlproofer.out
9292
9393
- name: Setup Git Authenticatation
@@ -100,4 +100,4 @@ jobs:
100100
env:
101101
GH_TOKEN: ${{ secrets.METABASE_AUTOMATION_USER_TOKEN }}
102102
run: |
103-
bb script/update_or_create_pr.clj $MAIN_REPO_BRANCH
103+
bb script/update_or_create_pr.clj "$MAIN_REPO_BRANCH"

0 commit comments

Comments
 (0)