Skip to content

Commit

Permalink
chore: update repo for workflows (#16546)
Browse files Browse the repository at this point in the history
* z

* chore: update repo for workflows

* z
  • Loading branch information
everpcpc committed Sep 29, 2024
1 parent de5a3d6 commit dd45c19
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/20_bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -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.
4 changes: 2 additions & 2 deletions .github/actions/publish_binary/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
10 changes: 5 additions & 5 deletions .github/actions/publish_deb/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,19 @@ 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
- name: Add BendSQL
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
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/setup_bendsql/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion .github/scripts/notify_release.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`,
},
],
],
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit dd45c19

Please sign in to comment.