Skip to content

Commit 55cda0f

Browse files
authored
Merge branch 'master' into patch-1
2 parents 184e6e4 + ea2d7ca commit 55cda0f

24 files changed

+6373
-2165
lines changed

.eslintrc.js

Lines changed: 460 additions & 0 deletions
Large diffs are not rendered by default.

.github/CODEOWNERS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# CODEOWNERS info: https://help.github.com/en/articles/about-code-owners
2+
# Owners are automatically requested for review for PRs that changes code
3+
# that they own.
4+
* @dgraph-io/committers

.github/dependabot.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "npm"
9+
directory: "/" # Location of package manifests
10+
schedule:
11+
interval: "weekly"
12+
day: wednesday
13+
time: "16:00"
14+
versioning-strategy: increase
15+
rebase-strategy: "disabled"
16+
groups:
17+
minor-and-patch:
18+
applies-to: version-updates
19+
update-types:
20+
- "minor"
21+
- "patch"
22+
23+
- package-ecosystem: "github-actions"
24+
# Workflow files stored in the default location of `.github/workflows`. (You don't need to specify `/.github/workflows` for `directory`. You can use `directory: "/"`.)
25+
directory: "/"
26+
schedule:
27+
interval: "weekly"
28+
day: wednesday
29+
time: "16:00"

.github/workflows/cd-dgraph-js.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ jobs:
2424
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2525
steps:
2626
- name: Checkout dgraph-js repo
27-
uses: actions/checkout@v3
27+
uses: actions/checkout@v4
2828
with:
2929
path: dgraph-js
3030
repository: dgraph-io/dgraph-js
3131
ref: ${{ github.event.inputs.releasetag }}
3232
- name: Checkout dgraph repo
33-
uses: actions/checkout@v3
33+
uses: actions/checkout@v4
3434
with:
3535
path: dgraph
3636
repository: dgraph-io/dgraph
@@ -42,15 +42,15 @@ jobs:
4242
GOVERSION=$({ [ -f .go-version ] && cat .go-version; })
4343
echo "GOVERSION=$GOVERSION" >> $GITHUB_ENV
4444
- name: Set up Go
45-
uses: actions/setup-go@v3
45+
uses: actions/setup-go@v5
4646
with:
4747
go-version: ${{ env.GOVERSION }}
4848
- name: Build dgraph binary
4949
run: cd dgraph && make docker-image # also builds dgraph binary
5050
- name: Move dgraph binary to gopath
5151
run: cd dgraph && mv dgraph/dgraph ~/go/bin/dgraph
5252
- name: Setup node.js ${{ matrix.node-version }}
53-
uses: actions/setup-node@v3
53+
uses: actions/setup-node@v4
5454
with:
5555
node-version: ${{ matrix.node-version }}
5656
cache: 'npm'
@@ -66,9 +66,9 @@ jobs:
6666
runs-on: ubuntu-20.04
6767
steps:
6868
- name: Checkout dgraph-js repo
69-
uses: actions/checkout@v3
69+
uses: actions/checkout@v4
7070
- name: Setup node.js
71-
uses: actions/setup-node@v3
71+
uses: actions/setup-node@v4
7272
with:
7373
node-version: '20.x'
7474
registry-url: 'https://registry.npmjs.org'

.github/workflows/ci-aqua-security-trivy-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-20.04
2020
steps:
2121
- name: Checkout code
22-
uses: actions/checkout@v3
22+
uses: actions/checkout@v4
2323
- name: Run Trivy vulnerability scanner
2424
uses: aquasecurity/trivy-action@master
2525
with:
@@ -28,6 +28,6 @@ jobs:
2828
format: 'sarif'
2929
output: 'trivy-results.sarif'
3030
- name: Upload Trivy scan results to GitHub Security tab
31-
uses: github/codeql-action/upload-sarif@v2
31+
uses: github/codeql-action/upload-sarif@v3
3232
with:
3333
sarif_file: 'trivy-results.sarif'

.github/workflows/ci-dgraph-js.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ jobs:
2121
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2222
steps:
2323
- name: Checkout dgraph-js repo
24-
uses: actions/checkout@v3
24+
uses: actions/checkout@v4
2525
with:
2626
path: dgraph-js
2727
repository: dgraph-io/dgraph-js
2828
ref: ${{ github.ref }}
2929
- name: Checkout dgraph repo
30-
uses: actions/checkout@v3
30+
uses: actions/checkout@v4
3131
with:
3232
path: dgraph
3333
repository: dgraph-io/dgraph
@@ -39,15 +39,15 @@ jobs:
3939
GOVERSION=$({ [ -f .go-version ] && cat .go-version; })
4040
echo "GOVERSION=$GOVERSION" >> $GITHUB_ENV
4141
- name: Set up Go
42-
uses: actions/setup-go@v3
42+
uses: actions/setup-go@v5
4343
with:
4444
go-version: ${{ env.GOVERSION }}
4545
- name: Build dgraph binary
4646
run: cd dgraph && make docker-image # also builds dgraph binary
4747
- name: Move dgraph binary to gopath
4848
run: cd dgraph && mv dgraph/dgraph ~/go/bin/dgraph
4949
- name: Setup node.js ${{ matrix.node-version }}
50-
uses: actions/setup-node@v3
50+
uses: actions/setup-node@v4
5151
with:
5252
node-version: ${{ matrix.node-version }}
5353
cache: 'npm'

.github/workflows/stale.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: 'Close stale issues and PRs'
2+
on:
3+
schedule:
4+
- cron: '30 1 * * *'
5+
6+
permissions:
7+
issues: write
8+
pull-requests: write
9+
10+
jobs:
11+
stale:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/stale@v9
15+
with:
16+
stale-issue-message: 'This issue has been stale for 60 days and will be closed automatically in 7 days. Comment to keep it open.'
17+
stale-pr-message: 'This PR has been stale for 60 days and will be closed automatically in 7 days. Comment to keep it open.'

examples/simple/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "simple",
33
"dependencies": {
44
"dgraph-js": "^21.3.1",
5-
"@grpc/grpc-js": "1.8.17"
5+
"@grpc/grpc-js": "1.8.22"
66
},
77
"scripts": {
88
"example": "node index.js",

0 commit comments

Comments
 (0)