From dd45c198baebe945b5bfe3fb0b8a09965daff1b2 Mon Sep 17 00:00:00 2001 From: everpcpc Date: Sun, 29 Sep 2024 18:41:41 +0800 Subject: [PATCH] chore: update repo for workflows (#16546) * z * chore: update repo for workflows * z --- .github/ISSUE_TEMPLATE/20_bug_report.yml | 6 +++--- .github/ISSUE_TEMPLATE/config.yml | 2 +- .github/actions/publish_binary/action.yml | 4 ++-- .github/actions/publish_deb/action.yml | 10 +++++----- .github/actions/setup_bendsql/action.yml | 4 ++-- .github/scripts/notify_release.js | 2 +- .github/workflows/release.yml | 8 ++++---- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/20_bug_report.yml b/.github/ISSUE_TEMPLATE/20_bug_report.yml index e9c1e2ec7db7..9e7a44d69e56 100644 --- a/.github/ISSUE_TEMPLATE/20_bug_report.yml +++ b/.github/ISSUE_TEMPLATE/20_bug_report.yml @@ -8,17 +8,17 @@ body: value: | Thank you very much for submitting feedback to Databend to help Databend develop better. - If it is an idea or help wanted, please go to: [Discussion](https://github.com/datafuselabs/databend/discussions) + If it is an idea or help wanted, please go to: [Discussion](https://github.com/databendlabs/databend/discussions) - type: checkboxes attributes: label: Search before asking description: > - Please make sure to search in the [issues](https://github.com/datafuselabs/databend/issues) first to see + Please make sure to search in the [issues](https://github.com/databendlabs/databend/issues) first to see whether the same issue was reported already. options: - label: > - I had searched in the [issues](https://github.com/datafuselabs/databend/issues) and found no similar + I had searched in the [issues](https://github.com/databendlabs/databend/issues) and found no similar issues. required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 497a278cdfd5..c7fae142eb61 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,5 +1,5 @@ blank_issues_enabled: true contact_links: - name: Question - url: https://github.com/datafuselabs/databend/discussions/categories/q-a + url: https://github.com/databendlabs/databend/discussions/categories/q-a about: Please ask and answer questions on the discussions Q&A category. diff --git a/.github/actions/publish_binary/action.yml b/.github/actions/publish_binary/action.yml index 1220c7e7df15..f73fd02f419d 100644 --- a/.github/actions/publish_binary/action.yml +++ b/.github/actions/publish_binary/action.yml @@ -44,7 +44,7 @@ runs: if: inputs.category == 'default' run: | aws s3 cp ${{ steps.name.outputs.name }}.tar.gz s3://repo/databend/${{ inputs.version }}/${{ steps.name.outputs.name }}.tar.gz --no-progress - gh api /repos/datafuselabs/databend/tags > tags.json + gh api /repos/databendlabs/databend/tags > tags.json aws s3 cp ./tags.json s3://repo/databend/tags.json - gh api /repos/datafuselabs/databend/releases > releases.json + gh api /repos/databendlabs/databend/releases > releases.json aws s3 cp ./releases.json s3://repo/databend/releases.json diff --git a/.github/actions/publish_deb/action.yml b/.github/actions/publish_deb/action.yml index 19703fd07720..c64911b0a3e2 100644 --- a/.github/actions/publish_deb/action.yml +++ b/.github/actions/publish_deb/action.yml @@ -32,8 +32,8 @@ runs: version=${{ inputs.version }} deb_version=${version/-/.} deb_version=${deb_version/v/} - wget -q https://github.com/datafuselabs/databend/releases/download/${version}/databend_${deb_version}_amd64.deb - wget -q https://github.com/datafuselabs/databend/releases/download/${version}/databend_${deb_version}_arm64.deb + wget -q https://github.com/databendlabs/databend/releases/download/${version}/databend_${deb_version}_amd64.deb + wget -q https://github.com/databendlabs/databend/releases/download/${version}/databend_${deb_version}_arm64.deb reprepro includedeb stable databend_${deb_version}_amd64.deb reprepro includedeb stable databend_${deb_version}_arm64.deb @@ -41,10 +41,10 @@ runs: shell: bash working-directory: scripts/distribution/deb run: | - version=$(gh release view --repo datafuselabs/bendsql --json name | jq -r '.name') + version=$(gh release view --repo databendlabs/bendsql --json name | jq -r '.name') deb_version=${version/v/} - wget -q https://github.com/datafuselabs/bendsql/releases/download/${version}/bendsql_${deb_version}_amd64.deb - wget -q https://github.com/datafuselabs/bendsql/releases/download/${version}/bendsql_${deb_version}_arm64.deb + wget -q https://github.com/databendlabs/bendsql/releases/download/${version}/bendsql_${deb_version}_amd64.deb + wget -q https://github.com/databendlabs/bendsql/releases/download/${version}/bendsql_${deb_version}_arm64.deb reprepro includedeb stable bendsql_${deb_version}_amd64.deb reprepro includedeb stable bendsql_${deb_version}_arm64.deb diff --git a/.github/actions/setup_bendsql/action.yml b/.github/actions/setup_bendsql/action.yml index 6fc2daca1352..79718f8744d9 100644 --- a/.github/actions/setup_bendsql/action.yml +++ b/.github/actions/setup_bendsql/action.yml @@ -10,7 +10,7 @@ runs: if bendsql --version; then exit 0 fi - curl --retry 5 -Lo /tmp/bendsql.tar.gz https://github.com/datafuselabs/bendsql/releases/download/v0.18.3/bendsql-x86_64-unknown-linux-gnu.tar.gz + curl --retry 5 -Lo /tmp/bendsql.tar.gz https://github.com/databendlabs/bendsql/releases/download/v0.18.3/bendsql-x86_64-unknown-linux-gnu.tar.gz tar -xzf /tmp/bendsql.tar.gz -C /tmp mv /tmp/bendsql /usr/local/bin/bendsql bendsql --version @@ -21,7 +21,7 @@ runs: if bendsql --version; then exit 0 fi - curl --retry 5 -Lo /tmp/bendsql.tar.gz https://github.com/datafuselabs/bendsql/releases/download/v0.18.3/bendsql-x86_64-apple-darwin.tar.gz + curl --retry 5 -Lo /tmp/bendsql.tar.gz https://github.com/databendlabs/bendsql/releases/download/v0.18.3/bendsql-x86_64-apple-darwin.tar.gz tar -xzf /tmp/bendsql.tar.gz -C /tmp mv /tmp/bendsql /usr/local/bin/bendsql bendsql --version diff --git a/.github/scripts/notify_release.js b/.github/scripts/notify_release.js index f6646208d4a0..6463c1b986c9 100644 --- a/.github/scripts/notify_release.js +++ b/.github/scripts/notify_release.js @@ -43,7 +43,7 @@ module.exports = async ({ context, core }) => { { tag: "a", text: "Release Notes", - href: `https://github.com/datafuselabs/databend/releases/tag/${VERSION}`, + href: `https://github.com/databendlabs/databend/releases/tag/${VERSION}`, }, ], ], diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7f892ac3dd28..a08a02c1b58c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -71,7 +71,7 @@ jobs: - name: Checkout Docs uses: actions/checkout@v4 with: - repository: datafuselabs/databend-docs + repository: databendlabs/databend-docs ref: main - name: Get date shell: bash @@ -83,10 +83,10 @@ jobs: mkdir -p docs/release-stable df="docs/release-stable/${{ env.DATE }}_${{ needs.create_release.outputs.version }}.md" echo "---" > $df - gh release view --repo datafuselabs/databend ${{ needs.create_release.outputs.version }} >> $df + gh release view --repo databendlabs/databend ${{ needs.create_release.outputs.version }} >> $df sed -i -E 's/^--$/---/g' $df sed -i -E '/^asset:/d' $df - sed -i -E 's_https://github.com/datafuselabs/databend/pull/([0-9]+)_[#\1](https://github.com/datafuselabs/databend/pull/\1)_g' $df + sed -i -E 's_https://github.com/databendlabs/databend/pull/([0-9]+)_[#\1](https://github.com/databendlabs/databend/pull/\1)_g' $df git add docs/release-stable git status - uses: peter-evans/create-pull-request@v4 @@ -649,7 +649,7 @@ jobs: # - name: checkout share endpoint # uses: actions/checkout@v4 # with: - # repository: datafuselabs/share-endpoint + # repository: databendlabs/share-endpoint # token: ${{ secrets.DATABEND_BOT_TOKEN }} # path: share-endpoint # - name: Download artifacts