forked from jaegertracing/jaeger-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/jaegertracing/jaeger-ui int…
…o block-pr
- Loading branch information
Showing
615 changed files
with
61,203 additions
and
17,387 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
build | ||
coverage | ||
packages/plexus/src/LayoutManager/layout.worker*js* | ||
|
||
# Ignore generated files | ||
packages/jaeger-ui/index.d.ts | ||
packages/plexus/dist | ||
packages/plexus/lib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "npm" | ||
open-pull-requests-limit: 50 | ||
labels: [ "changelog:dependencies" ] | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
day: "tuesday" | ||
# we have too many dependency PRs today to rebase automatically | ||
rebase-strategy: "disabled" | ||
groups: | ||
babel: | ||
patterns: | ||
- "@babel/*" | ||
- "babel-loader" | ||
eslint: | ||
patterns: | ||
- "@typescript-eslint/*" | ||
- "eslint" | ||
- "eslint*" | ||
jest: | ||
patterns: | ||
- "@jest*" | ||
- "jest*" | ||
- "babel-jest" | ||
- "@testing-library/jest*" | ||
react: | ||
patterns: | ||
- "@types/react" | ||
- "@types/react-dom" | ||
- "react" | ||
- "react-dom" | ||
vite: | ||
patterns: | ||
- "vite" | ||
- "@vitejs/*" | ||
|
||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
day: "tuesday" | ||
labels: [ "changelog:dependencies" ] |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Verify PR Label | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- reopened | ||
- synchronize | ||
- ready_for_review | ||
- labeled | ||
- unlabeled | ||
|
||
jobs: | ||
check-label: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check PR label | ||
if: github.event.pull_request.user.login != 'dependabot' | ||
run: | | ||
LABEL_NAME="changelog:" | ||
if [[ $(curl -s "https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}" | jq -r '.labels[].name' | grep -c "^$LABEL_NAME") -eq 0 ]]; then | ||
echo "Error: Pull request is missing a required label of the form '${LABEL_NAME}***'." | ||
exit 1 | ||
fi | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: "CodeQL" | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
|
||
pull_request: | ||
branches: [main] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ (github.event.pull_request && github.event.pull_request.number) || github.ref || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
codeql-analyze: | ||
permissions: | ||
actions: read # for github/codeql-action/init to get workflow details | ||
contents: read # for actions/checkout to fetch code | ||
security-events: write # for github/codeql-action/autobuild to send a status report | ||
name: CodeQL Analyze | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
language: ["javascript"] | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 | ||
|
||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@e8893c57a1f3a2b659b6b55564fdfdbbd2982911 # v3.24.0 | ||
with: | ||
languages: javascript | ||
|
||
- name: Autobuild | ||
uses: github/codeql-action/autobuild@e8893c57a1f3a2b659b6b55564fdfdbbd2982911 # v3.24.0 | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@e8893c57a1f3a2b659b6b55564fdfdbbd2982911 # v3.24.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: "Lint and Build" | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
|
||
pull_request: | ||
branches: [main] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ (github.event.pull_request && github.event.pull_request.number) || github.ref || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
lint-build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 | ||
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 | ||
with: | ||
cache: yarn | ||
node-version: '18' | ||
- run: yarn install --frozen-lockfile | ||
- name: Run depcheck | ||
run: yarn run depcheck | ||
- run: yarn lint | ||
- run: yarn build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Publish release | ||
|
||
on: | ||
release: | ||
types: | ||
- published | ||
|
||
# See https://github.com/jaegertracing/jaeger/issues/4017 | ||
# and https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions | ||
permissions: | ||
deployments: write | ||
contents: write | ||
|
||
jobs: | ||
publish-release: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 | ||
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 | ||
with: | ||
cache: yarn | ||
node-version: '18' | ||
- run: yarn install --frozen-lockfile | ||
- run: yarn lint | ||
- run: yarn build | ||
id: yarn-build | ||
|
||
- name: Package artifacts | ||
id: package-artifacts | ||
run: tar -czvf ./assets.tar.gz --strip-components=3 packages/jaeger-ui/build/ | ||
if: steps.yarn-build.outcome == 'success' | ||
|
||
- name: Upload artifacts | ||
uses: svenstaro/upload-release-action@1beeb572c19a9242f4361f4cee78f8e0d9aec5df | ||
with: | ||
file: 'assets.tar.gz' | ||
overwrite: true | ||
tag: ${{ github.ref }} | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
if: steps.package-artifacts.outcome == 'success' |
Oops, something went wrong.