Skip to content

Commit

Permalink
update contrib import action
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar committed Dec 11, 2024
1 parent 62958c9 commit 4612c47
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/contrib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@ on:
permissions:
contents: write # to update _contrib
pull-requests: write # to send the updated _contrib PRs

jobs:
update-contrib:
name: Update _contrib
runs-on: ubuntu-latest

steps:
- name: Checkout website
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Checkout hyper
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false
repository: hyperium/hyper
Expand Down Expand Up @@ -96,11 +96,11 @@ jobs:
- name: Lowercase filenames and replace underscores
run: |
for f in hyper/docs/*; do
mv -vn "$f" "$(echo "$f" | tr '[:upper:]' '[:lower:]' | tr '_' '-')";
mv -vn "$f" "$(echo '$f' | tr '[:upper:]' '[:lower:]' | tr '_' '-')";
done
- name: Copy the hyper docs to contrib
run: |
run: |
mkdir -p _contrib
cp -a hyper/docs/. _contrib/
Expand Down

0 comments on commit 4612c47

Please sign in to comment.