diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..0ef3eff --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @shnwazdeveloper \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..220b93a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,11 @@ +blank_issues_enabled: true +contact_links: + - name: SayaProject Telegram + url: https://t.me/SayaProject + about: Follow official project updates. + - name: Direct Telegram Contact + url: https://t.me/Sayafq + about: Contact SayaProject directly. + - name: GitHub Support + url: https://github.com/IFlexElite + about: GitHub support profile for SayaProject. \ No newline at end of file diff --git a/.github/workflows/auto-assign-issues.yml b/.github/workflows/auto-assign-issues.yml new file mode 100644 index 0000000..84ae036 --- /dev/null +++ b/.github/workflows/auto-assign-issues.yml @@ -0,0 +1,24 @@ +name: Auto-assign new issues + +on: + issues: + types: [opened] + +permissions: + issues: write + +jobs: + assign: + name: Assign issue owner + runs-on: ubuntu-latest + steps: + - name: Assign to maintainer + uses: actions/github-script@v7 + with: + script: | + await github.rest.issues.addAssignees({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: context.issue.number, + assignees: ['shnwazdeveloper'] + }); \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..6b82a4f --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,28 @@ +name: CI + +on: + workflow_dispatch: + pull_request: + branches: [main] + push: + branches: [main] + +permissions: + contents: read + +jobs: + profile-check: + name: Profile content check + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Validate profile README and banner + run: | + test -f profile/README.md + test -f profile/assets/saya-banner.png + grep -q "SayaProject" profile/README.md + grep -q "https://t.me/SayaProject" profile/README.md + grep -q "https://t.me/Sayafq" profile/README.md + grep -q "https://github.com/IFlexElite" profile/README.md \ No newline at end of file