Update org in scripts and workflows

This commit is contained in:
David Langley 2023-12-12 10:31:44 +00:00
parent a1a4847e09
commit 0562942972
12 changed files with 29 additions and 29 deletions

View file

@ -17,8 +17,8 @@ jobs:
- name: Download package - name: Download package
run: | run: |
wget "https://github.com/vector-im/element-web/releases/download/$VERSION/element-$VERSION.tar.gz" wget "https://github.com/element-hq/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.asc"
- name: Check GPG signature - name: Check GPG signature
run: | run: |
@ -69,7 +69,7 @@ jobs:
- name: Publish to packages.element.io - name: Publish to packages.element.io
if: github.event.release.prerelease == false if: github.event.release.prerelease == false
uses: vector-im/packages.element.io@master uses: element-hq/packages.element.io@master
with: with:
file: element-web.deb file: element-web.deb
github-token: ${{ secrets.ELEMENT_BOT_TOKEN }} github-token: ${{ secrets.ELEMENT_BOT_TOKEN }}

View file

@ -13,7 +13,7 @@ jobs:
build: build:
name: "Build & Deploy develop.element.io" name: "Build & Deploy develop.element.io"
# Only respect triggers from our develop branch, ignore that of forks # 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 runs-on: ubuntu-latest
environment: develop environment: develop
env: env:

View file

@ -22,7 +22,7 @@ jobs:
- name: Fetch element-desktop - name: Fetch element-desktop
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
repository: vector-im/element-desktop repository: element-hq/element-desktop
path: element-desktop path: element-desktop
- name: Fetch element-web - name: Fetch element-web

View file

@ -10,8 +10,8 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
environment: Matrix environment: Matrix
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%3Avector-im%2Felement-web+repo%3Avector-im%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%3Avector-im%2Felement-web+repo%3Avector-im%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+"
steps: steps:
- uses: actions/github-script@v7 - uses: actions/github-script@v7
env: env:
@ -60,16 +60,16 @@ jobs:
} }
const repos = [ const repos = [
"vector-im/element-desktop", "element-hq/element-desktop",
"vector-im/element-web", "element-hq/element-web",
"matrix-org/matrix-react-sdk", "matrix-org/matrix-react-sdk",
"matrix-org/matrix-js-sdk", "matrix-org/matrix-js-sdk",
]; ];
const teams = [ const teams = [
"matrix-org/element-web-app-team", "matrix-org/element-web-app-team",
"matrix-org/element-web", "matrix-org/element-web",
"vector-im/element-web-app-team", "element-hq/element-web-app-team",
"vector-im/element-web", "element-hq/element-web",
]; ];
let issueCount = 0; let issueCount = 0;

View file

@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
if: inputs.element-desktop if: inputs.element-desktop
with: with:
repository: vector-im/element-desktop repository: element-hq/element-desktop
path: element-desktop path: element-desktop
ref: staging ref: staging
fetch-depth: 0 fetch-depth: 0
@ -40,7 +40,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
if: inputs.element-web if: inputs.element-web
with: with:
repository: vector-im/element-web repository: element-hq/element-web
path: element-web path: element-web
ref: staging ref: staging
fetch-depth: 0 fetch-depth: 0

View file

@ -10,10 +10,10 @@ on:
- .github/labels.yml - .github/labels.yml
jobs: jobs:
sync-labels: 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: with:
LABELS: | LABELS: |
vector-im/element-meta element-hq/element-meta
.github/labels.yml .github/labels.yml
DELETE: true DELETE: true
WET: true WET: true

View file

@ -14,5 +14,5 @@ jobs:
steps: steps:
- uses: actions/add-to-project@main - uses: actions/add-to-project@main
with: 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 }} github-token: ${{ secrets.ELEMENT_BOT_TOKEN }}

View file

@ -61,7 +61,7 @@ jobs:
- uses: konradpabjan/move-labeled-or-milestoned-issue@190352295fe309fcb113b49193bc81d9aaa9cb01 - uses: konradpabjan/move-labeled-or-milestoned-issue@190352295fe309fcb113b49193bc81d9aaa9cb01
with: with:
action-token: "${{ secrets.ELEMENT_BOT_TOKEN }}" 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" column-name: "Need info"
label-name: "X-Needs-Info" label-name: "X-Needs-Info"
@ -79,7 +79,7 @@ jobs:
steps: steps:
- uses: actions/add-to-project@main - uses: actions/add-to-project@main
with: 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 }} github-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
add_product_issues: add_product_issues:
@ -90,7 +90,7 @@ jobs:
steps: steps:
- uses: actions/add-to-project@main - uses: actions/add-to-project@main
with: 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 }} github-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
Search_issues_to_board: Search_issues_to_board:
@ -101,7 +101,7 @@ jobs:
steps: steps:
- uses: actions/add-to-project@main - uses: actions/add-to-project@main
with: 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 }} github-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
voip: voip:
@ -112,7 +112,7 @@ jobs:
steps: steps:
- uses: actions/add-to-project@main - uses: actions/add-to-project@main
with: 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 }} github-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
verticals_feature: verticals_feature:
@ -123,7 +123,7 @@ jobs:
steps: steps:
- uses: actions/add-to-project@main - uses: actions/add-to-project@main
with: 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 }} github-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
tech_debt: tech_debt:
@ -139,7 +139,7 @@ jobs:
steps: steps:
- uses: actions/add-to-project@main - uses: actions/add-to-project@main
with: 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 }} github-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
element_r: element_r:
@ -163,4 +163,4 @@ jobs:
field-keys: Workstream,module field-keys: Workstream,module
field-values: Element-R,web field-values: Element-R,web
env: env:
PROJECT_URL: https://github.com/orgs/vector-im/projects/76 PROJECT_URL: https://github.com/orgs/element-hq/projects/76

View file

@ -14,7 +14,7 @@ jobs:
headers: '{"GraphQL-Features": "projects_next_graphql"}' headers: '{"GraphQL-Features": "projects_next_graphql"}'
query: | query: |
query find_team_members($team: String!) { query find_team_members($team: String!) {
organization(login: "vector-im") { organization(login: "element-hq") {
team(slug: $team) { team(slug: $team) {
members { members {
nodes { nodes {
@ -81,7 +81,7 @@ jobs:
headers: '{"GraphQL-Features": "projects_next_graphql"}' headers: '{"GraphQL-Features": "projects_next_graphql"}'
query: | query: |
query find_team_members($team: String!) { query find_team_members($team: String!) {
organization(login: "vector-im") { organization(login: "element-hq") {
team(slug: $team) { team(slug: $team) {
members { members {
nodes { nodes {

View file

@ -18,7 +18,7 @@ my $gh = Net::GitHub->new(
login => 'ara4n', pass => read_password("github password: "), 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', milestone => 3 });
my @issues = $gh->issue->repos_issues({ state => 'all' }); my @issues = $gh->issue->repos_issues({ state => 'all' });

View file

@ -18,7 +18,7 @@ my $gh = Net::GitHub->new(
login => 'ara4n', pass => read_password("github password: "), 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', milestone => 3 });
my @issues = $gh->issue->repos_issues({ state => 'all' }); my @issues = $gh->issue->repos_issues({ state => 'all' });

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=vector-im export PR_ORG=element-hq
export PR_REPO=element-web export PR_REPO=element-web
# Set up the js-sdk first # Set up the js-sdk first