From 8ce88e1df59d9e681476cb8d3cdad57ea4f757e9 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Fri, 21 Aug 2026 09:46:48 +0000
Subject: [PATCH] chore: initialize repository
---
.github/ISSUE_TEMPLATE/bug_report.yml | 2 +-
.github/ISSUE_TEMPLATE/config.yml | 2 +-
.github/ISSUE_TEMPLATE/feature_request.yml | 2 +-
.github/SECURITY.md | 2 +-
.github/workflows/initializer.yml | 100 ---------------------
LICENSE | 4 +-
README.md | 16 ++--
docs/README.md | 4 +-
8 files changed, 16 insertions(+), 116 deletions(-)
delete mode 100644 .github/workflows/initializer.yml
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
index ff42086..82f78fc 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.yml
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -64,7 +64,7 @@ body:
attributes:
label: Confirmation
options:
- - label: I performed a [search of the issue tracker](https://github.com/{username}/{reponame}/issues) to avoid opening a duplicate issue
+ - label: I performed a [search of the issue tracker](https://github.com/SegoCode/unical/issues) to avoid opening a duplicate issue
required: true
- label: I understand that not filling out this template correctly may lead to the issue being closed
required: true
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
index 7f83253..b242a1b 100644
--- a/.github/ISSUE_TEMPLATE/config.yml
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -1,5 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Contact the developer
- url: https://{username}.github.io/{username}/
+ url: https://SegoCode.github.io/SegoCode/
about: To discuss any type of related topic
diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml
index 23c5ebc..780607d 100644
--- a/.github/ISSUE_TEMPLATE/feature_request.yml
+++ b/.github/ISSUE_TEMPLATE/feature_request.yml
@@ -34,7 +34,7 @@ body:
attributes:
label: Confirmation
options:
- - label: I performed a [search of the feature requests](https://github.com/{username}/{reponame}/issues) to avoid suggesting a duplicate feature
+ - label: I performed a [search of the feature requests](https://github.com/SegoCode/unical/issues) to avoid suggesting a duplicate feature
required: true
- label: I understand that not filling out this template correctly may lead to the request being closed
required: true
diff --git a/.github/SECURITY.md b/.github/SECURITY.md
index df34996..0d89241 100644
--- a/.github/SECURITY.md
+++ b/.github/SECURITY.md
@@ -1 +1 @@
-If you discover a vulnerability in this application, that poses a significant threat to the security of the users, we recommend that you do not open a public issue. Instead, please send your report via [email](https://{username}.github.io/{username}/). Include as much detailed information as possible to help understand the nature of the vulnerability.
+If you discover a vulnerability in this application, that poses a significant threat to the security of the users, we recommend that you do not open a public issue. Instead, please send your report via [email](https://SegoCode.github.io/SegoCode/). Include as much detailed information as possible to help understand the nature of the vulnerability.
diff --git a/.github/workflows/initializer.yml b/.github/workflows/initializer.yml
deleted file mode 100644
index d22d4f7..0000000
--- a/.github/workflows/initializer.yml
+++ /dev/null
@@ -1,100 +0,0 @@
-name: Initialize repository
-
-on:
- workflow_dispatch:
-
-concurrency:
- group: initialize-repository
-
-jobs:
- initialize_repo:
- runs-on: ubuntu-latest
- permissions:
- contents: write
- issues: write
- pull-requests: write
-
- steps:
- - name: Checkout repository
- uses: actions/checkout@v7
- with:
- ref: main
- fetch-depth: 0
-
- - name: Setup git
- run: |
- git config user.name "github-actions[bot]"
- git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
-
- - name: Extract repository and username
- id: extract
- run: |
- echo "username=${{ github.repository_owner }}" >> "$GITHUB_OUTPUT"
- echo "reponame=${{ github.event.repository.name }}" >> "$GITHUB_OUTPUT"
-
- - name: Create develop branch if it doesn't exist
- run: |
- if ! git ls-remote --exit-code --heads origin develop; then
- git push origin HEAD:refs/heads/develop
- fi
-
- - name: Replace {reponame} and {username} with actual values in non-workflow files
- run: |
- set -o pipefail
- REPO_NAME_ONLY="${{ steps.extract.outputs.reponame }}"
- USERNAME="${{ steps.extract.outputs.username }}"
- git grep -Ilz '{reponame}' -- ':!.github/workflows/*' | xargs -0r sed -i "s/{reponame}/$REPO_NAME_ONLY/g"
- git grep -Ilz '{username}' -- ':!.github/workflows/*' | xargs -0r sed -i "s/{username}/$USERNAME/g"
-
- - name: Remove initializer workflow
- run: |
- rm -f .github/workflows/initializer.yml
-
- - name: Commit changes
- run: |
- git checkout -B chore/initialize-repository
- git add --all -- ':!.github/workflows'
- git add .github/workflows/initializer.yml
- git commit -m "chore: initialize repository"
- git fetch origin chore/initialize-repository:refs/remotes/origin/chore/initialize-repository 2>/dev/null || true
- git push --force-with-lease origin HEAD:chore/initialize-repository
-
- - name: Create pull request
- env:
- GH_TOKEN: ${{ github.token }}
- run: |
- PR_URL=$(gh pr list --repo "${{ github.repository }}" --base main --head chore/initialize-repository \
- --state open --json url --jq '.[0].url')
- if [ -z "$PR_URL" ]; then
- if ! PR_URL=$(gh pr create --repo "${{ github.repository }}" --base main --head chore/initialize-repository \
- --title "chore: initialize repository" \
- --body "Replace template placeholders, create the develop branch, and remove the one-time initializer." 2>&1); then
- if [[ "$PR_URL" != *"not permitted to create or approve pull requests"* ]]; then
- echo "$PR_URL" >&2
- exit 1
- fi
-
- ISSUE_TITLE="Action required: allow workflows to create pull requests"
- ISSUE_BODY=$(printf '%s\n' \
- "The repository initializer could not create its pull request because GitHub Actions does not have permission." \
- "" \
- "To fix it:" \
- "" \
- "1. Open [Settings > Actions > General](https://github.com/${{ github.repository }}/settings/actions)." \
- "2. Under **Workflow permissions**, select **Read and write permissions**." \
- "3. Enable **Allow GitHub Actions to create and approve pull requests**." \
- "4. Save the changes." \
- "5. Run the [Initialize repository workflow](https://github.com/${{ github.repository }}/actions/workflows/initializer.yml) again.")
-
- EXISTING_ISSUE=$(gh issue list --repo "${{ github.repository }}" --state open --limit 100 \
- --json title,url --jq '.[] | select(.title == "Action required: allow workflows to create pull requests") | .url')
- if [ -n "$EXISTING_ISSUE" ]; then
- echo "Permission issue already exists: $EXISTING_ISSUE"
- else
- gh issue create --repo "${{ github.repository }}" --title "$ISSUE_TITLE" --body "$ISSUE_BODY"
- fi
- echo "$PR_URL" >&2
- exit 1
- fi
- fi
- echo "$PR_URL"
diff --git a/LICENSE b/LICENSE
index c27bf7a..9636e04 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
# Source Available PolyForm Noncommercial + GNU AGPL-3.0 License
-
@@ -10,11 +10,11 @@
