pull/26786/head
Ivaylo Badinov 2023-09-22 13:58:01 +03:00 committed by Badi Ifaoui
parent aeca12e3d8
commit 32864276a2
8 changed files with 11 additions and 2 deletions

View File

@ -6,6 +6,7 @@ concurrency: ${{ github.workflow }}
jobs: jobs:
build: build:
name: Build package name: Build package
if: github.event.release.prerelease == false && github.repository == 'vector-im/element-web'
environment: packages.element.io environment: packages.element.io
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:

View File

@ -8,6 +8,7 @@ jobs:
tidy: tidy:
name: Tidy closed issues name: Tidy closed issues
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository == 'vector-im/element-web'
steps: steps:
- uses: actions/github-script@v7 - uses: actions/github-script@v7
id: main id: main

View File

@ -9,6 +9,7 @@ jobs:
name: Pending reviews bot name: Pending reviews bot
runs-on: ubuntu-latest runs-on: ubuntu-latest
environment: Matrix environment: Matrix
if: github.repository == 'vector-im/element-web'
env: env:
URL: "https://github.com/pulls?q=is%3Apr+is%3Aopen+repo%3Amatrix-org%2Fmatrix-js-sdk+repo%3Amatrix-org%2Fmatrix-react-sdk+repo%3Aelement-hq%2Felement-web+repo%3Aelement-hq%2Felement-desktop+review-requested%3A%40me+sort%3Aupdated-desc+" URL: "https://github.com/pulls?q=is%3Apr+is%3Aopen+repo%3Amatrix-org%2Fmatrix-js-sdk+repo%3Amatrix-org%2Fmatrix-react-sdk+repo%3Aelement-hq%2Felement-web+repo%3Aelement-hq%2Felement-desktop+review-requested%3A%40me+sort%3Aupdated-desc+"
RELEASE_BLOCKERS_URL: "https://github.com/pulls?q=is%3Aopen+repo%3Amatrix-org%2Fmatrix-js-sdk+repo%3Amatrix-org%2Fmatrix-react-sdk+repo%3Aelement-hq%2Felement-web+repo%3Aelement-hq%2Felement-desktop+sort%3Aupdated-desc+label%3AX-Release-Blocker+" RELEASE_BLOCKERS_URL: "https://github.com/pulls?q=is%3Aopen+repo%3Amatrix-org%2Fmatrix-js-sdk+repo%3Amatrix-org%2Fmatrix-react-sdk+repo%3Aelement-hq%2Felement-web+repo%3Aelement-hq%2Felement-desktop+sort%3Aupdated-desc+label%3AX-Release-Blocker+"

View File

@ -9,6 +9,7 @@ concurrency:
cancel-in-progress: true cancel-in-progress: true
jobs: jobs:
sonarqube: sonarqube:
if: github.repository == 'vector-im/element-web'
name: 🩻 SonarQube name: 🩻 SonarQube
uses: matrix-org/matrix-js-sdk/.github/workflows/sonarcloud.yml@develop uses: matrix-org/matrix-js-sdk/.github/workflows/sonarcloud.yml@develop
secrets: secrets:

View File

@ -8,9 +8,11 @@ jobs:
web-app-team: web-app-team:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: | if: |
github.repository == 'vector-im/element-web' && (
contains(github.event.issue.assignees.*.login, 't3chguy') || contains(github.event.issue.assignees.*.login, 't3chguy') ||
contains(github.event.issue.assignees.*.login, 'andybalaam') || contains(github.event.issue.assignees.*.login, 'andybalaam') ||
contains(github.event.issue.assignees.*.login, 'MidhunSureshR') contains(github.event.issue.assignees.*.login, 'justjanne')
)
steps: steps:
- uses: actions/add-to-project@main - uses: actions/add-to-project@main
with: with:

View File

@ -7,6 +7,7 @@ on:
jobs: jobs:
automate-project-columns: automate-project-columns:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository == 'vector-im/element-web'
steps: steps:
- uses: alex-page/github-project-automation-plus@7ffb872c64bd809d23563a130a0a97d01dfa8f43 - uses: alex-page/github-project-automation-plus@7ffb872c64bd809d23563a130a0a97d01dfa8f43
with: with:

View File

@ -7,6 +7,7 @@ jobs:
add_design_pr_to_project: add_design_pr_to_project:
name: Move PRs asking for design review to the design board name: Move PRs asking for design review to the design board
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository == 'vector-im/element-web'
steps: steps:
- uses: octokit/graphql-action@v2.x - uses: octokit/graphql-action@v2.x
id: find_team_members id: find_team_members
@ -74,6 +75,7 @@ jobs:
add_product_pr_to_project: add_product_pr_to_project:
name: Move PRs asking for design review to the design board name: Move PRs asking for design review to the design board
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository == 'vector-im/element-web'
steps: steps:
- uses: octokit/graphql-action@v2.x - uses: octokit/graphql-action@v2.x
id: find_team_members id: find_team_members

View File

@ -17,7 +17,7 @@ set -ex
yarn install --frozen-lockfile yarn install --frozen-lockfile
# Pass appropriate repo to fetchdep.sh # Pass appropriate repo to fetchdep.sh
export PR_ORG=element-hq export PR_ORG=superhero-com
export PR_REPO=element-web export PR_REPO=element-web
# Set up the js-sdk first # Set up the js-sdk first