Skip to content

Commit 4612c47

Browse files
committed
update contrib import action
1 parent 62958c9 commit 4612c47

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/contrib.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@ on:
77
permissions:
88
contents: write # to update _contrib
99
pull-requests: write # to send the updated _contrib PRs
10-
10+
1111
jobs:
1212
update-contrib:
1313
name: Update _contrib
1414
runs-on: ubuntu-latest
1515

1616
steps:
1717
- name: Checkout website
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919
with:
2020
persist-credentials: false
2121

2222
- name: Checkout hyper
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
2424
with:
2525
persist-credentials: false
2626
repository: hyperium/hyper
@@ -96,11 +96,11 @@ jobs:
9696
- name: Lowercase filenames and replace underscores
9797
run: |
9898
for f in hyper/docs/*; do
99-
mv -vn "$f" "$(echo "$f" | tr '[:upper:]' '[:lower:]' | tr '_' '-')";
99+
mv -vn "$f" "$(echo '$f' | tr '[:upper:]' '[:lower:]' | tr '_' '-')";
100100
done
101101
102102
- name: Copy the hyper docs to contrib
103-
run: |
103+
run: |
104104
mkdir -p _contrib
105105
cp -a hyper/docs/. _contrib/
106106

0 commit comments

Comments
 (0)