diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 5c41eff..df40ac8 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,4 +1,4 @@ -github: [{username}] +github: [SegoCode] community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry issuehunt: # Replace with a single IssueHunt username ko_fi: # Replace with a single ko_fi username diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index e6219c9..761c8d2 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -57,7 +57,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/webdl/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..de8b435 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/webdl/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 74891eb..0000000 --- a/.github/workflows/initializer.yml +++ /dev/null @@ -1,95 +0,0 @@ -name: Initialize repository - -on: - workflow_dispatch: - -jobs: - initialize_repo: - runs-on: ubuntu-latest - permissions: - contents: write - pull-requests: write - - steps: - - name: Checkout repository - uses: actions/checkout@v4 - with: - ref: main - fetch-depth: 0 - - - name: Setup git - run: | - git config --global user.name "github-actions" - git config --global user.email "github-actions@github.com" - - - name: Install GitHub CLI - run: | - sudo apt-get update - sudo apt-get install gh -y - - - name: Extract repository and username - id: extract - run: | - REPO_NAME="${{ github.repository }}" - USERNAME=$(echo $REPO_NAME | cut -d'/' -f1) - REPO_NAME_ONLY=$(echo $REPO_NAME | cut -d'/' -f2) - echo "username=$USERNAME" >> $GITHUB_OUTPUT - echo "reponame=$REPO_NAME_ONLY" >> $GITHUB_OUTPUT - - - name: Set branch name - id: vars - run: echo "branch=initialize-repo-$(date +%Y%m%d%H%M%S)" >> $GITHUB_OUTPUT - - - name: Create develop branch if it doesn't exist - run: | - # Check if develop branch exists - if ! git ls-remote --heads origin develop | grep develop; then - echo "Creating develop branch from main..." - git checkout -b develop - git push -u origin develop - git checkout main # Return to main branch for the rest of the workflow - else - echo "Develop branch already exists." - fi - - - name: Replace {reponame} and {username} with actual values in non-workflow files - run: | - REPO_NAME_ONLY="${{ steps.extract.outputs.reponame }}" - USERNAME="${{ steps.extract.outputs.username }}" - REPO_NAME_ESCAPED=$(echo $REPO_NAME_ONLY | sed 's/\//\\\//g') - USERNAME_ESCAPED=$(echo $USERNAME | sed 's/\//\\\//g') - - # Modify all files except workflow files - find . -type f -not -path "./.git/*" -not -path "./.github/workflows/*" -exec sed -i "s/{reponame}/$REPO_NAME_ESCAPED/g" {} \; - find . -type f -not -path "./.git/*" -not -path "./.github/workflows/*" -exec sed -i "s/{username}/$USERNAME_ESCAPED/g" {} \; - - - name: Remove initializer workflow - run: | - rm -f .github/workflows/initializer.yml - - - name: Commit changes - run: | - BRANCH_NAME="${{ steps.vars.outputs.branch }}" - git checkout -b $BRANCH_NAME - - # Exclude workflow files to avoid permission errors - git add --all -- ':!.github/workflows' - - # Explicitly add the deletion of the initializer workflow - git add .github/workflows/initializer.yml - - git commit -m "Initialize repository with repo name ${{ steps.extract.outputs.reponame }} and username ${{ steps.extract.outputs.username }}" - git push origin HEAD:$BRANCH_NAME - - - name: Create pull request - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - BRANCH_NAME="${{ steps.vars.outputs.branch }}" - PR_URL=$(gh pr create --base main --head $BRANCH_NAME --title "Initialize repository" --body "This PR initializes the repository with the actual repository name, with the actual username and removing the initializer workflow.") - - # Extract PR number from URL - PR_NUMBER=$(basename $PR_URL) - - # Add any desired labels to the pull request - # gh pr edit $PR_NUMBER --add-label "initialization" diff --git a/LICENSE b/LICENSE index dde1197..43ad7db 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) {username} +Copyright (c) SegoCode All rights reserved. Section 1 - Definitions