diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS deleted file mode 100644 index 558f9e005..000000000 --- a/.github/CODEOWNERS +++ /dev/null @@ -1 +0,0 @@ -* @vector-im/element-web diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index f1d5476c5..4fc21788f 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,11 +1,5 @@ - + - +----------------------------------------------------------------------------- - +- [ ] I agree to release my changes under this project's license diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index cf5b12dea..000000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Build and Package -on: - pull_request: { } - push: - branches: [ master ] -# develop pushes and repository_dispatch handled in build_develop.yaml -env: - # These must be set for fetchdep.sh to get the right branch - REPOSITORY: ${{ github.repository }} - PR_NUMBER: ${{ github.event.pull_request.number }} -jobs: - build: - name: "Build" - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - - uses: actions/setup-node@v3 - with: - cache: 'yarn' - - - name: Install Dependencies - run: "./scripts/layered.sh" - - - name: Build & Package - run: "./scripts/ci_package.sh" diff --git a/.github/workflows/build_develop.yml b/.github/workflows/build_develop.yml deleted file mode 100644 index b907420ba..000000000 --- a/.github/workflows/build_develop.yml +++ /dev/null @@ -1,33 +0,0 @@ -# Separate to the main build workflow for access to develop -# environment secrets, largely similar to build.yaml. -name: Build and Package develop -on: - push: - branches: [ develop ] - repository_dispatch: - types: [ element-web-notify ] -jobs: - build: - name: "Build & Upload source maps to Sentry" - # Only respect triggers from our develop branch, ignore that of forks - if: github.repository == 'vector-im/element-web' - runs-on: ubuntu-latest - environment: develop - steps: - - uses: actions/checkout@v2 - - - uses: actions/setup-node@v3 - with: - cache: 'yarn' - - - name: Install Dependencies - run: "./scripts/layered.sh" - - - name: Build, Package & Upload sourcemaps - run: "./scripts/ci_package.sh" - env: - SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} - SENTRY_DSN: ${{ secrets.SENTRY_DSN }} - SENTRY_URL: ${{ secrets.SENTRY_URL }} - SENTRY_ORG: sentry - SENTRY_PROJECT: riot-web diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml deleted file mode 100644 index 2c8613d61..000000000 --- a/.github/workflows/pull_request.yaml +++ /dev/null @@ -1,12 +0,0 @@ -name: Pull Request -on: - pull_request_target: - types: [ opened, edited, labeled, unlabeled, synchronize ] -concurrency: ${{ github.workflow }}-${{ github.event.pull_request.head.ref }} -jobs: - action: - uses: matrix-org/matrix-js-sdk/.github/workflows/pull_request.yaml@develop - with: - labels: "T-Defect,T-Enhancement,T-Task" - secrets: - ELEMENT_BOT_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }} diff --git a/.github/workflows/sonarqube.yml b/.github/workflows/sonarqube.yml deleted file mode 100644 index a5360c64f..000000000 --- a/.github/workflows/sonarqube.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: SonarQube -on: - workflow_run: - workflows: [ "Tests" ] - types: - - completed -concurrency: - group: ${{ github.workflow }}-${{ github.event.workflow_run.head_branch }} - cancel-in-progress: true -jobs: - sonarqube: - name: 🩻 SonarQube - uses: matrix-org/matrix-js-sdk/.github/workflows/sonarcloud.yml@develop - secrets: - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml deleted file mode 100644 index ea3bbf8b8..000000000 --- a/.github/workflows/tests.yaml +++ /dev/null @@ -1,37 +0,0 @@ -name: Tests -on: - pull_request: { } - push: - branches: [ develop, master ] - repository_dispatch: - types: [ element-web-notify ] -env: - # These must be set for fetchdep.sh to get the right branch - REPOSITORY: ${{ github.repository }} - PR_NUMBER: ${{ github.event.pull_request.number }} -jobs: - jest: - name: Jest - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Yarn cache - uses: actions/setup-node@v3 - with: - cache: 'yarn' - - - name: Install Dependencies - run: "./scripts/layered.sh" - - - name: Run tests with coverage - run: "yarn coverage --ci" - - - name: Upload Artifact - uses: actions/upload-artifact@v2 - with: - name: coverage - path: | - coverage - !coverage/lcov-report diff --git a/.github/workflows/upgrade_dependencies.yml b/.github/workflows/upgrade_dependencies.yml deleted file mode 100644 index a4a0fedc0..000000000 --- a/.github/workflows/upgrade_dependencies.yml +++ /dev/null @@ -1,8 +0,0 @@ -name: Upgrade Dependencies -on: - workflow_dispatch: { } -jobs: - upgrade: - uses: matrix-org/matrix-js-sdk/.github/workflows/upgrade_dependencies.yml@develop - secrets: - ELEMENT_BOT_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}