Skip to content

Commit 7a97068

Browse files
author
Paul Korzhyk
committed
2 parents 4da150c + ddfe5bd commit 7a97068

File tree

4 files changed

+29
-1
lines changed

4 files changed

+29
-1
lines changed

.github/ISSUE_TEMPLATE

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
**GitHub Issues are deprecated. Use [Discuss Issues](https://discuss.dgraph.io/c/issues/35/clients/47) for reporting issues about this repository.**
2+
Any issues opened or reopened would be automatically closed by the bot.

.github/workflows/main.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: Issue Closer
4+
5+
# Controls when the action will run. Triggers the workflow on push or pull request
6+
# events but only for the master branch
7+
on:
8+
issues:
9+
types: [ opened, reopened ]
10+
11+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
12+
jobs:
13+
# This workflow contains a single job called "build"
14+
build:
15+
# The type of runner that the job will run on
16+
runs-on: ubuntu-latest
17+
18+
# Steps represent a sequence of tasks that will be executed as part of the job
19+
steps:
20+
- name: Close Issue
21+
uses: peter-evans/[email protected]
22+
with:
23+
comment: |
24+
**Use [Discuss Issues](https://discuss.dgraph.io/c/issues/35/clients/47) for reporting issues about this repository.**

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
Dgraph Dashboard
44

5+
**Use [Discuss Issues](https://discuss.dgraph.io/c/issues/35/ratel/47) for reporting issues about this repository.**
6+
57
## Building and running
68
See [Instructions](./INSTRUCTIONS.md).
79

client/src/components/Cluster/MoveTabletModal.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export default function MoveTabletModal({ fromGroup, tablet, groups, onHide }) {
4848
const getUrl = () =>
4949
`${sanitizeUrl(
5050
zeroUrlInput,
51-
)}/moveTablet?tablet=${tablet}&group=${targetGroup}`;
51+
)}/moveTablet?tablet=${encodeURIComponent(tablet)}&group=${targetGroup}`;
5252

5353
const humanizeGroupSize = group => {
5454
const space = Object.values(group.tablets || {}).reduce(

0 commit comments

Comments
 (0)