diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 000000000..aed2dd5b1 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @thulium/frontend diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index bcb4d5fa3..000000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1 +0,0 @@ -github: [ferdikoomen] diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 456d1d9ed..000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: '' -assignees: ferdikoomen - ---- - -**Describe the bug** -A clear and concise description of what the bug is. Ideally with a screenshot of the result or a link to a small example. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 902bbe4b2..000000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: '' -labels: '' -assignees: '' - ---- - -**Describe the solution you'd like** -A clear and concise description of what you want to happen. Ideally with a small example of the proposed changes. diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 77d50f37b..000000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,22 +0,0 @@ -version: 2 -updates: -- package-ecosystem: npm - directory: "/" - schedule: - interval: "daily" - ignore: - - dependency-name: "@types/node-fetch" - - dependency-name: "node-fetch" - - dependency-name: "camelcase" - - dependency-name: "@angular-devkit/build-angular" - - dependency-name: "@angular/animations" - - dependency-name: "@angular/cli" - - dependency-name: "@angular/common" - - dependency-name: "@angular/compiler" - - dependency-name: "@angular/compiler-cli" - - dependency-name: "@angular/core" - - dependency-name: "@angular/forms" - - dependency-name: "@angular/platform-browser" - - dependency-name: "@angular/platform-browser-dynamic" - - dependency-name: "@angular/router" - - dependency-name: "typescript" \ No newline at end of file diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 000000000..4f1db8c8a --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1 @@ +_extends: github-internals diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml deleted file mode 100644 index 5d5d5301d..000000000 --- a/.github/workflows/auto-merge.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: auto-merge - -on: pull_request_target - -permissions: - pull-requests: write - contents: write - -jobs: - dependabot: - runs-on: ubuntu-latest - if: ${{ github.actor == 'dependabot[bot]' }} - steps: - - name: Fetch Dependabot metadata - id: dependabot-metadata - uses: dependabot/fetch-metadata@v1 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - - name: Approve PR - run: gh pr review --approve "$PR_URL" - env: - PR_URL: ${{ github.event.pull_request.html_url }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Merge PR - if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' }} - run: gh pr merge --auto --squash "$PR_URL" - env: - PR_URL: ${{ github.event.pull_request.html_url }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml deleted file mode 100644 index 57cfed82c..000000000 --- a/.github/workflows/codeql.yml +++ /dev/null @@ -1,41 +0,0 @@ -name: "CodeQL" - -on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] - schedule: - - cron: "44 20 * * 3" - -jobs: - analyze: - name: Analyze - runs-on: ubuntu-latest - permissions: - actions: read - contents: read - security-events: write - - strategy: - fail-fast: false - matrix: - language: [ javascript ] - - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Initialize CodeQL - uses: github/codeql-action/init@v2 - with: - languages: ${{ matrix.language }} - queries: +security-and-quality - - - name: Autobuild - uses: github/codeql-action/autobuild@v2 - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 - with: - category: "/language:${{ matrix.language }}" diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 000000000..1ab657259 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,34 @@ +name: Publish package + +on: + release: + types: + - published + +jobs: + publish-gpr: + runs-on: + group: thulium-ubuntu-runners + permissions: + packages: write + contents: read + steps: + - name: Checkout code + uses: actions/checkout@v3.5.3 + + - name: Set up Node.js 18.13.0 + uses: actions/setup-node@v3.7.0 + with: + node-version: 20.17.0 + registry-url: https://npm.pkg.github.com/ + + - name: Install dependencies + run: npm ci + + - name: Build production + run: npm run release + + - name: Publish package + run: npm publish + env: + NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git a/.github/workflows/update-release-log.yml b/.github/workflows/update-release-log.yml new file mode 100644 index 000000000..82f25afbe --- /dev/null +++ b/.github/workflows/update-release-log.yml @@ -0,0 +1,16 @@ +name: Update Release Log + +on: + push: + branches: + - main + +permissions: + contents: read + +jobs: + update-release-log: + permissions: + contents: write + uses: thulium/github-internals/.github/workflows/thulium-update-release-log.yml@main + secrets: inherit