From 4adf4f5e42b1aa1249f670703b2c7818d6baa9a5 Mon Sep 17 00:00:00 2001 From: Yuta Katayama <8683947+yutkat@users.noreply.github.com> Date: Mon, 1 May 2023 02:47:39 +0900 Subject: [PATCH] Update --- .github/workflows/count-account.yml | 2 +- .github/workflows/lint.yml | 2 +- README.md => readme.md | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename README.md => readme.md (100%) diff --git a/.github/workflows/count-account.yml b/.github/workflows/count-account.yml index aa31a72..1f2e02d 100644 --- a/.github/workflows/count-account.yml +++ b/.github/workflows/count-account.yml @@ -22,6 +22,6 @@ jobs: apt update apt-get install -y gh ca-certificates - run: > - grep '](https://github.com' README.md [a-z]*.md | sed -re 's/^.*\]\(https:\/\/github.com\/([^\)]*).*/\1/' | xargs -I {} dirname {} | sort | uniq -c | sort -n -r + grep '](https://github.com' [a-z]*.md | sed -re 's/^.*\]\(https:\/\/github.com\/([^\)]*).*/\1/' | xargs -I {} dirname {} | sort | uniq -c | sort -n -r env: GH_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 560b9b4..bb933b1 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -18,7 +18,7 @@ jobs: apt update apt-get install -y gh jq ca-certificates curl - run: > - grep '](https://github.com' README.md [a-z]*.md | + grep '](https://github.com' [a-z]*.md | sed -re 's/^.*\]\(https:\/\/github.com\/([^\)]*).*/\1/' | xargs -I {} bash -c "echo -n \"{}: \"; gh api repos/{} 2>/dev/null | jq -r '(.archived|tostring)'" | tee archived_check_list.txt env: diff --git a/README.md b/readme.md similarity index 100% rename from README.md rename to readme.md