Updated email and users (#136)

This commit is contained in:
Hak 2024-08-13 16:58:09 +07:00 committed by GitHub
parent 6f70e420e6
commit c29075fbaf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 10 additions and 10 deletions

View file

@ -48,7 +48,7 @@ body:
required: true required: true
- label: I have written a title with source name. - label: I have written a title with source name.
required: true 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 required: true
- label: I will fill out all of the requested information in this form. - label: I will fill out all of the requested information in this form.
required: true required: true

View file

@ -11,8 +11,8 @@ VERSION_STR = "VersionCode ="
VERSION_REGEX = re.compile(f"{VERSION_STR} (\\d+)") VERSION_REGEX = re.compile(f"{VERSION_STR} (\\d+)")
BUMPED_FILES: list[Path] = [] BUMPED_FILES: list[Path] = []
BOT_EMAIL = "134626626+almightyhak@users.noreply.github.com" BOT_EMAIL = "177773202+Kohi-den-Bot@users.noreply.github.com"
BOT_NAME = "almightyhak" BOT_NAME = "Kohi-den-Bot"
def has_match(query: str, file: Path) -> tuple[Path, bool]: def has_match(query: str, file: Path) -> tuple[Path, bool]:
return (file, query in file.read_text()) return (file, query in file.read_text())

View file

@ -2,8 +2,8 @@
set -e set -e
rsync -a --delete --exclude .git --exclude .gitignore ../main/repo/ . rsync -a --delete --exclude .git --exclude .gitignore ../main/repo/ .
git config --global user.email "134626626+almightyhak@users.noreply.github.com" git config --global user.email "177773202+Kohi-den-Bot@users.noreply.github.com"
git config --global user.name "almightyhak" git config --global user.name "Kohi-den-Bot"
git status git status
if [ -n "$(git status --porcelain)" ]; then if [ -n "$(git status --porcelain)" ]; then
git add . git add .

View file

@ -113,7 +113,7 @@ jobs:
- name: Upload APKs (chunk ${{ matrix.chunk }}) - name: Upload APKs (chunk ${{ matrix.chunk }})
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4 uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4
if: "github.repository == 'almightyhak/aniyomi-extensions'" if: "github.repository == 'Kohi-den/extensions-source'"
with: with:
name: "individual-apks-${{ matrix.chunk }}" name: "individual-apks-${{ matrix.chunk }}"
path: "**/*.apk" path: "**/*.apk"
@ -126,7 +126,7 @@ jobs:
name: Publish repo name: Publish repo
needs: needs:
- build_individual - build_individual
if: "github.repository == 'almightyhak/aniyomi-extensions'" if: "github.repository == 'Kohi-den/extensions-source'"
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Download APK artifacts - name: Download APK artifacts
@ -158,7 +158,7 @@ jobs:
- name: Checkout repo branch - name: Checkout repo branch
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with: with:
repository: almightyhak/aniyomi-anime-repo repository: Kohi-den/extensions
token: ${{ secrets.BOT_PAT }} token: ${{ secrets.BOT_PAT }}
ref: main ref: main
path: repo path: repo
@ -172,6 +172,6 @@ jobs:
with: with:
message: "Update extensions repo" message: "Update extensions repo"
cwd: "./repo" cwd: "./repo"
committer_name: almightyhak committer_name: Kohi-den-Bot
committer_email: 134626626+almightyhak@users.noreply.github.com committer_email: 177773202+Kohi-den-Bot@users.noreply.github.com