From 7bcdc921cb5a38b4d15c90409d570cc39bbe0f5e Mon Sep 17 00:00:00 2001 From: Abheek Dhawan <67982792+ADawesomeguy@users.noreply.github.com> Date: Wed, 16 Mar 2022 19:52:28 -0500 Subject: [PATCH 1/3] Add action to automatically encode and commit w3strings --- .github/workflows/encode-and-commit.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/encode-and-commit.yml diff --git a/.github/workflows/encode-and-commit.yml b/.github/workflows/encode-and-commit.yml new file mode 100644 index 0000000..639c139 --- /dev/null +++ b/.github/workflows/encode-and-commit.yml @@ -0,0 +1,18 @@ +on: [push] + +jobs: + encode: + runs-on: ubuntu-latest + name: Encode + steps: + - uses: actions/checkout@v3 + - name: Encode + uses: adawesomeguy/w3strings-action@v1.1 + with: + csv-path: 'strings/csv/en.w3strings.csv' + id-space: 6720 + out-dir: 'dlc/dlcStatTrak/content' + language: 'en' + - uses: endbug/add-and-commit@v8 + with: + message: '[CI] Update W3Strings' From ce10c483f1bf2e056478df4333b5852b8669db77 Mon Sep 17 00:00:00 2001 From: ADawesomeguy Date: Thu, 17 Mar 2022 00:53:02 +0000 Subject: [PATCH 2/3] [CI] Update W3Strings --- dlc/dlcStatTrak/content/en.w3strings | Bin 296 -> 334 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/dlc/dlcStatTrak/content/en.w3strings b/dlc/dlcStatTrak/content/en.w3strings index 877144a5073a1f5660e02fe5be1560a1496f6425..245cde19a18394bcc180599c487387e0ead0aaef 100644 GIT binary patch delta 171 zcmZ3%bdD(^C?q(15d#CmbZ2&fCJA;SAX5>D1%Yf%Ak6{9LO?c<0<%ScY;Pc&7l=iH zY$vF=7?5oVWs3vZCKDqZ7$YanRCV%SUf>rp=dXof;hIMQN3FXKi0Ej34f0#+1%Yf%Ak6{9LO?c<0<%ScYzrWp7l=iH zY<;M>7?7<7Ws3vZiW4IonA{jA^DwH&NW8yyk7MtSs#9O1UN67azP2%X>-H=8qW9 Date: Wed, 16 Mar 2022 19:54:04 -0500 Subject: [PATCH 3/3] Set default author as GitHub Actions --- .github/workflows/encode-and-commit.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/encode-and-commit.yml b/.github/workflows/encode-and-commit.yml index 639c139..925a3f8 100644 --- a/.github/workflows/encode-and-commit.yml +++ b/.github/workflows/encode-and-commit.yml @@ -15,4 +15,5 @@ jobs: language: 'en' - uses: endbug/add-and-commit@v8 with: + default_author: github_actions message: '[CI] Update W3Strings'