From c29075fbaf20dc63f0d70b4334ae3691e884d01e Mon Sep 17 00:00:00 2001 From: Hak <134626626+almightyhak@users.noreply.github.com> Date: Tue, 13 Aug 2024 16:58:09 +0700 Subject: [PATCH] Updated email and users (#136) --- .github/ISSUE_TEMPLATE/02_request_source.yml | 2 +- .github/scripts/bump-versions.py | 4 ++-- .github/scripts/commit-repo.sh | 4 ++-- .github/workflows/build_push.yml | 10 +++++----- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/02_request_source.yml b/.github/ISSUE_TEMPLATE/02_request_source.yml index 35a68664..8445aa4b 100644 --- a/.github/ISSUE_TEMPLATE/02_request_source.yml +++ b/.github/ISSUE_TEMPLATE/02_request_source.yml @@ -48,7 +48,7 @@ body: required: true - label: I have written a title with source name. required: true - - label: I have checked that the extension does not already exist by searching the [GitHub repository](https://github.com/almightyhak/aniyomi-extensions) and verified it does not appear in the code base. + - label: I have checked that the extension does not already exist by searching the [GitHub repository](https://github.com/Kohi-den/extensions-source) and verified it does not appear in the code base. required: true - label: I will fill out all of the requested information in this form. required: true diff --git a/.github/scripts/bump-versions.py b/.github/scripts/bump-versions.py index 51c15729..1fe8cdf6 100644 --- a/.github/scripts/bump-versions.py +++ b/.github/scripts/bump-versions.py @@ -11,8 +11,8 @@ VERSION_STR = "VersionCode =" VERSION_REGEX = re.compile(f"{VERSION_STR} (\\d+)") BUMPED_FILES: list[Path] = [] -BOT_EMAIL = "134626626+almightyhak@users.noreply.github.com" -BOT_NAME = "almightyhak" +BOT_EMAIL = "177773202+Kohi-den-Bot@users.noreply.github.com" +BOT_NAME = "Kohi-den-Bot" def has_match(query: str, file: Path) -> tuple[Path, bool]: return (file, query in file.read_text()) diff --git a/.github/scripts/commit-repo.sh b/.github/scripts/commit-repo.sh index 980a4b51..be82c670 100644 --- a/.github/scripts/commit-repo.sh +++ b/.github/scripts/commit-repo.sh @@ -2,8 +2,8 @@ set -e rsync -a --delete --exclude .git --exclude .gitignore ../main/repo/ . -git config --global user.email "134626626+almightyhak@users.noreply.github.com" -git config --global user.name "almightyhak" +git config --global user.email "177773202+Kohi-den-Bot@users.noreply.github.com" +git config --global user.name "Kohi-den-Bot" git status if [ -n "$(git status --porcelain)" ]; then git add . diff --git a/.github/workflows/build_push.yml b/.github/workflows/build_push.yml index f39ffed9..b8143aa9 100644 --- a/.github/workflows/build_push.yml +++ b/.github/workflows/build_push.yml @@ -113,7 +113,7 @@ jobs: - name: Upload APKs (chunk ${{ matrix.chunk }}) uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4 - if: "github.repository == 'almightyhak/aniyomi-extensions'" + if: "github.repository == 'Kohi-den/extensions-source'" with: name: "individual-apks-${{ matrix.chunk }}" path: "**/*.apk" @@ -126,7 +126,7 @@ jobs: name: Publish repo needs: - build_individual - if: "github.repository == 'almightyhak/aniyomi-extensions'" + if: "github.repository == 'Kohi-den/extensions-source'" runs-on: ubuntu-latest steps: - name: Download APK artifacts @@ -158,7 +158,7 @@ jobs: - name: Checkout repo branch uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 with: - repository: almightyhak/aniyomi-anime-repo + repository: Kohi-den/extensions token: ${{ secrets.BOT_PAT }} ref: main path: repo @@ -172,6 +172,6 @@ jobs: with: message: "Update extensions repo" cwd: "./repo" - committer_name: almightyhak - committer_email: 134626626+almightyhak@users.noreply.github.com + committer_name: Kohi-den-Bot + committer_email: 177773202+Kohi-den-Bot@users.noreply.github.com