From 0562942972c00d53236ddeabcb21b9b948453265 Mon Sep 17 00:00:00 2001 From: David Langley Date: Tue, 12 Dec 2023 10:31:44 +0000 Subject: [PATCH] Update org in scripts and workflows --- .github/workflows/build_debian.yaml | 6 +++--- .github/workflows/build_develop.yml | 2 +- .github/workflows/docs.yml | 2 +- .github/workflows/pending-reviews.yaml | 12 ++++++------ .github/workflows/release_prepare.yml | 4 ++-- .github/workflows/sync-labels.yml | 4 ++-- .github/workflows/triage-assigned.yml | 2 +- .github/workflows/triage-labelled.yml | 16 ++++++++-------- .../workflows/triage-move-review-requests.yml | 4 ++-- scripts/issues-burndown.pl | 2 +- scripts/issues-no-state.pl | 2 +- scripts/layered.sh | 2 +- 12 files changed, 29 insertions(+), 29 deletions(-) diff --git a/.github/workflows/build_debian.yaml b/.github/workflows/build_debian.yaml index b30458f4a6..90b1659e98 100644 --- a/.github/workflows/build_debian.yaml +++ b/.github/workflows/build_debian.yaml @@ -17,8 +17,8 @@ jobs: - name: Download package run: | - wget "https://github.com/vector-im/element-web/releases/download/$VERSION/element-$VERSION.tar.gz" - wget "https://github.com/vector-im/element-web/releases/download/$VERSION/element-$VERSION.tar.gz.asc" + wget "https://github.com/element-hq/element-web/releases/download/$VERSION/element-$VERSION.tar.gz" + wget "https://github.com/element-hq/element-web/releases/download/$VERSION/element-$VERSION.tar.gz.asc" - name: Check GPG signature run: | @@ -69,7 +69,7 @@ jobs: - name: Publish to packages.element.io if: github.event.release.prerelease == false - uses: vector-im/packages.element.io@master + uses: element-hq/packages.element.io@master with: file: element-web.deb github-token: ${{ secrets.ELEMENT_BOT_TOKEN }} diff --git a/.github/workflows/build_develop.yml b/.github/workflows/build_develop.yml index 7303893a36..3a2946eb39 100644 --- a/.github/workflows/build_develop.yml +++ b/.github/workflows/build_develop.yml @@ -13,7 +13,7 @@ jobs: build: name: "Build & Deploy develop.element.io" # Only respect triggers from our develop branch, ignore that of forks - if: github.repository == 'vector-im/element-web' + if: github.repository == 'element-hq/element-web' runs-on: ubuntu-latest environment: develop env: diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 67e5be1efd..adadc082b8 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -22,7 +22,7 @@ jobs: - name: Fetch element-desktop uses: actions/checkout@v4 with: - repository: vector-im/element-desktop + repository: element-hq/element-desktop path: element-desktop - name: Fetch element-web diff --git a/.github/workflows/pending-reviews.yaml b/.github/workflows/pending-reviews.yaml index 03102808d8..34e5ea6dcc 100644 --- a/.github/workflows/pending-reviews.yaml +++ b/.github/workflows/pending-reviews.yaml @@ -10,8 +10,8 @@ jobs: runs-on: ubuntu-latest environment: Matrix env: - URL: "https://github.com/pulls?q=is%3Apr+is%3Aopen+repo%3Amatrix-org%2Fmatrix-js-sdk+repo%3Amatrix-org%2Fmatrix-react-sdk+repo%3Avector-im%2Felement-web+repo%3Avector-im%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%3Avector-im%2Felement-web+repo%3Avector-im%2Felement-desktop+sort%3Aupdated-desc+label%3AX-Release-Blocker+" + 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+" steps: - uses: actions/github-script@v7 env: @@ -60,16 +60,16 @@ jobs: } const repos = [ - "vector-im/element-desktop", - "vector-im/element-web", + "element-hq/element-desktop", + "element-hq/element-web", "matrix-org/matrix-react-sdk", "matrix-org/matrix-js-sdk", ]; const teams = [ "matrix-org/element-web-app-team", "matrix-org/element-web", - "vector-im/element-web-app-team", - "vector-im/element-web", + "element-hq/element-web-app-team", + "element-hq/element-web", ]; let issueCount = 0; diff --git a/.github/workflows/release_prepare.yml b/.github/workflows/release_prepare.yml index 817bdac005..0d41b6ab50 100644 --- a/.github/workflows/release_prepare.yml +++ b/.github/workflows/release_prepare.yml @@ -30,7 +30,7 @@ jobs: uses: actions/checkout@v4 if: inputs.element-desktop with: - repository: vector-im/element-desktop + repository: element-hq/element-desktop path: element-desktop ref: staging fetch-depth: 0 @@ -40,7 +40,7 @@ jobs: uses: actions/checkout@v4 if: inputs.element-web with: - repository: vector-im/element-web + repository: element-hq/element-web path: element-web ref: staging fetch-depth: 0 diff --git a/.github/workflows/sync-labels.yml b/.github/workflows/sync-labels.yml index 8283545a33..bb22292a64 100644 --- a/.github/workflows/sync-labels.yml +++ b/.github/workflows/sync-labels.yml @@ -10,10 +10,10 @@ on: - .github/labels.yml jobs: sync-labels: - uses: vector-im/element-meta/.github/workflows/sync-labels.yml@develop + uses: element-hq/element-meta/.github/workflows/sync-labels.yml@develop with: LABELS: | - vector-im/element-meta + element-hq/element-meta .github/labels.yml DELETE: true WET: true diff --git a/.github/workflows/triage-assigned.yml b/.github/workflows/triage-assigned.yml index 4b210fcd23..98112d556f 100644 --- a/.github/workflows/triage-assigned.yml +++ b/.github/workflows/triage-assigned.yml @@ -14,5 +14,5 @@ jobs: steps: - uses: actions/add-to-project@main with: - project-url: https://github.com/orgs/vector-im/projects/67 + project-url: https://github.com/orgs/element-hq/projects/67 github-token: ${{ secrets.ELEMENT_BOT_TOKEN }} diff --git a/.github/workflows/triage-labelled.yml b/.github/workflows/triage-labelled.yml index 423d46e128..535320d96b 100644 --- a/.github/workflows/triage-labelled.yml +++ b/.github/workflows/triage-labelled.yml @@ -61,7 +61,7 @@ jobs: - uses: konradpabjan/move-labeled-or-milestoned-issue@190352295fe309fcb113b49193bc81d9aaa9cb01 with: action-token: "${{ secrets.ELEMENT_BOT_TOKEN }}" - project-url: "https://github.com/vector-im/element-web/projects/27" + project-url: "https://github.com/element-hq/element-web/projects/27" column-name: "Need info" label-name: "X-Needs-Info" @@ -79,7 +79,7 @@ jobs: steps: - uses: actions/add-to-project@main with: - project-url: https://github.com/orgs/vector-im/projects/18 + project-url: https://github.com/orgs/element-hq/projects/18 github-token: ${{ secrets.ELEMENT_BOT_TOKEN }} add_product_issues: @@ -90,7 +90,7 @@ jobs: steps: - uses: actions/add-to-project@main with: - project-url: https://github.com/orgs/vector-im/projects/28 + project-url: https://github.com/orgs/element-hq/projects/28 github-token: ${{ secrets.ELEMENT_BOT_TOKEN }} Search_issues_to_board: @@ -101,7 +101,7 @@ jobs: steps: - uses: actions/add-to-project@main with: - project-url: https://github.com/orgs/vector-im/projects/48 + project-url: https://github.com/orgs/element-hq/projects/48 github-token: ${{ secrets.ELEMENT_BOT_TOKEN }} voip: @@ -112,7 +112,7 @@ jobs: steps: - uses: actions/add-to-project@main with: - project-url: https://github.com/orgs/vector-im/projects/41 + project-url: https://github.com/orgs/element-hq/projects/41 github-token: ${{ secrets.ELEMENT_BOT_TOKEN }} verticals_feature: @@ -123,7 +123,7 @@ jobs: steps: - uses: actions/add-to-project@main with: - project-url: https://github.com/orgs/vector-im/projects/57 + project-url: https://github.com/orgs/element-hq/projects/57 github-token: ${{ secrets.ELEMENT_BOT_TOKEN }} tech_debt: @@ -139,7 +139,7 @@ jobs: steps: - uses: actions/add-to-project@main with: - project-url: https://github.com/orgs/vector-im/projects/101 + project-url: https://github.com/orgs/element-hq/projects/101 github-token: ${{ secrets.ELEMENT_BOT_TOKEN }} element_r: @@ -163,4 +163,4 @@ jobs: field-keys: Workstream,module field-values: Element-R,web env: - PROJECT_URL: https://github.com/orgs/vector-im/projects/76 + PROJECT_URL: https://github.com/orgs/element-hq/projects/76 diff --git a/.github/workflows/triage-move-review-requests.yml b/.github/workflows/triage-move-review-requests.yml index 36b5ad17ec..9d2924c1a9 100644 --- a/.github/workflows/triage-move-review-requests.yml +++ b/.github/workflows/triage-move-review-requests.yml @@ -14,7 +14,7 @@ jobs: headers: '{"GraphQL-Features": "projects_next_graphql"}' query: | query find_team_members($team: String!) { - organization(login: "vector-im") { + organization(login: "element-hq") { team(slug: $team) { members { nodes { @@ -81,7 +81,7 @@ jobs: headers: '{"GraphQL-Features": "projects_next_graphql"}' query: | query find_team_members($team: String!) { - organization(login: "vector-im") { + organization(login: "element-hq") { team(slug: $team) { members { nodes { diff --git a/scripts/issues-burndown.pl b/scripts/issues-burndown.pl index f7cc413e78..e5cd244701 100755 --- a/scripts/issues-burndown.pl +++ b/scripts/issues-burndown.pl @@ -18,7 +18,7 @@ my $gh = Net::GitHub->new( login => 'ara4n', pass => read_password("github password: "), ); -$gh->set_default_user_repo('vector-im', 'element-web'); +$gh->set_default_user_repo('element-hq', 'element-web'); #my @issues = $gh->issue->repos_issues({ state => 'all', milestone => 3 }); my @issues = $gh->issue->repos_issues({ state => 'all' }); diff --git a/scripts/issues-no-state.pl b/scripts/issues-no-state.pl index f1f71f581d..cb84e882c6 100755 --- a/scripts/issues-no-state.pl +++ b/scripts/issues-no-state.pl @@ -18,7 +18,7 @@ my $gh = Net::GitHub->new( login => 'ara4n', pass => read_password("github password: "), ); -$gh->set_default_user_repo('vector-im', 'element-web'); +$gh->set_default_user_repo('element-hq', 'element-web'); #my @issues = $gh->issue->repos_issues({ state => 'all', milestone => 3 }); my @issues = $gh->issue->repos_issues({ state => 'all' }); diff --git a/scripts/layered.sh b/scripts/layered.sh index c9c78cfe1d..3622d41181 100755 --- a/scripts/layered.sh +++ b/scripts/layered.sh @@ -17,7 +17,7 @@ set -ex yarn install --frozen-lockfile # Pass appropriate repo to fetchdep.sh -export PR_ORG=vector-im +export PR_ORG=element-hq export PR_REPO=element-web # Set up the js-sdk first