diff --git a/.github/workflows/verji-release-drafter-workflow.yml b/.github/workflows/verji-release-drafter-workflow.yml index 3eeba464f0a..83301b6780c 100644 --- a/.github/workflows/verji-release-drafter-workflow.yml +++ b/.github/workflows/verji-release-drafter-workflow.yml @@ -1,4 +1,4 @@ -name: Release Drafter +name: Release Drafter Workflow on: workflow_call: inputs: @@ -14,7 +14,7 @@ jobs: - name: 🧮 Checkout code uses: actions/checkout@v4 with: - ref: staging + ref: verji-staging fetch-depth: 0 - uses: actions/setup-node@v4 @@ -35,7 +35,7 @@ jobs: - name: Get actions scripts uses: actions/checkout@v4 with: - repository: matrix-org/matrix-js-sdk + repository: verji/matrix-js-sdk persist-credentials: false path: .action-repo sparse-checkout: | @@ -61,10 +61,10 @@ jobs: if (DEPENDENCY.includes("/")) { deps.push(DEPENDENCY.replace("$VERSION", VERSION)) } else { - const fromVersion = JSON.parse((await github.request(`https://raw.githubusercontent.com/${owner}/${repo}/master/package.json`)).data).dependencies[DEPENDENCY]; + const fromVersion = JSON.parse((await github.request(`https://raw.githubusercontent.com/${owner}/${repo}/verji-master/package.json`)).data).dependencies[DEPENDENCY]; const toVersion = require("./package.json").dependencies[DEPENDENCY]; - if (toVersion.endsWith("#develop")) { + if (toVersion.endsWith("#verji-develop")) { core.warning(`${DEPENDENCY} will be kept at ${fromVersion}`, { title: "Develop dependency found" }); } else { deps.push([DEPENDENCY, fromVersion, toVersion]); diff --git a/.github/workflows/verji-release-drafter.yml b/.github/workflows/verji-release-drafter.yml index b4e9c2bf4a3..585834d6014 100644 --- a/.github/workflows/verji-release-drafter.yml +++ b/.github/workflows/verji-release-drafter.yml @@ -6,4 +6,4 @@ on: concurrency: ${{ github.workflow }} jobs: draft: - uses: verji/matrix-js-sdk/.github/workflows/verji-release-drafter-workflow.yml@verji-develop + uses: verji/matrix-js-sdk/.github/workflows/release-drafter-workflow.yml@verji-develop