From 9685a2927791ea13d823724fc7c59c6297aec475 Mon Sep 17 00:00:00 2001 From: Tomoya Kashifuku Date: Sun, 7 Jul 2024 16:44:37 +0900 Subject: [PATCH] chore: create asset list workflow --- .github/workflows/create-asset-list.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/create-asset-list.yml diff --git a/.github/workflows/create-asset-list.yml b/.github/workflows/create-asset-list.yml new file mode 100644 index 0000000..8e97952 --- /dev/null +++ b/.github/workflows/create-asset-list.yml @@ -0,0 +1,18 @@ +name: Create asset list + +on: push + +jobs: + create-asset-list: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - run: curl https://api.github.com/repos/tnyo43/i18n-locale-lint/releases/tags/v0.3.3 | jq 'reduce .assets.[] as $item ({}; .[$item.name] = $item.url)' > scripts/assets.json + - uses: peter-evans/create-pull-request@v6 + with: + body: | + test + branch: update-asset-list + commit-message: "chore: update asset list" + draft: true + title: "chore: update asset list"