Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove token #1940

Merged
merged 24 commits into from
Dec 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 32 additions & 47 deletions .github/labels.yaml
Original file line number Diff line number Diff line change
@@ -1,75 +1,60 @@
-
name: 'good first issue'
color: '5319e7'
description: 'Good for newcomers'
- name: "good first issue"
color: "5319e7"
description: "Good for newcomers"
aliases: []
-
name: 'help wanted'
color: '008672'
description: 'Extra attention is needed'
- name: "help wanted"
color: "008672"
description: "Extra attention is needed"
aliases: []
-
name: 'status: pending'
- name: "status: pending"
color: c5def5
description: 'More info is needed before deciding what to do'
description: "More info is needed before deciding what to do"
aliases: []
-
name: 'status: pinned'
- name: "status: pinned"
color: 0052cc
description: 'Should not be labeled as stale'
description: "Should not be labeled as stale"
aliases: []
-
name: 'status: stale'
- name: "status: stale"
color: fbca04

Check warning on line 18 in .github/labels.yaml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (fbca)
description: 'Inactive issues and PRs'
description: "Inactive issues and PRs"
aliases: []
-
name: 'status: wontfix'
- name: "status: wontfix"

Check warning on line 21 in .github/labels.yaml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (wontfix)
color: cfd3d7
description: 'This will not be worked on'
description: "This will not be worked on"
aliases: []
-
name: 'type: bug'
- name: "type: bug"
color: d73a4a
description: 'Verified problems that need to be worked on'
description: "Verified problems that need to be worked on"
aliases: []
-
name: 'type: chore'
- name: "type: chore"
color: C5DEF5
description: 'Code changes that neither fix bugs nor add features (refactoring, dependency changes, ...)'
description: "Code changes that neither fix bugs nor add features (refactoring, dependency changes, ...)"
aliases: []
-
name: 'type: docs'
- name: "type: docs"
color: C5DEF5
description: 'Documentation changes'
description: "Documentation changes"
aliases: []
-
name: 'type: duplicate'
- name: "type: duplicate"
color: cfd3d7
description: 'This issue or pull request already exists'
description: "This issue or pull request already exists"
aliases: []
-
name: 'type: feature'
- name: "type: feature"
color: 0E8A16
description: 'New feature or feature request'
description: "New feature or feature request"
aliases: []
-
name: 'type: fix'
- name: "type: fix"
color: 1D76DB
description: 'Updates to existing functionalities'
description: "Updates to existing functionalities"
aliases: []
-
name: 'type: invalid'
- name: "type: invalid"
color: e4e669
description: 'This doesn''t seem right'
description: "This doesn't seem right"
aliases: []
-
name: 'type: not a bug'
- name: "type: not a bug"
color: 0e8a16
description: 'Reports that happen not be our fault'
description: "Reports that happen not be our fault"
aliases: []
-
name: 'type: question'
- name: "type: question"
color: d876e3
description: 'Further information is requested'
description: "Further information is requested"
aliases: []
7 changes: 3 additions & 4 deletions .github/workflows/cspell.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
name: "Check spelling"
name: Check spelling
on:
pull_request:

jobs:
spellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: streetsidesoftware/cspell-action@v5
with:
files: "*.{rs,ts,tsx,md}"
incremental_files_only: false
incremental_files_only: true
strict: false
16 changes: 11 additions & 5 deletions .github/workflows/deno.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,26 @@

on:
pull_request:
paths:
- "**.json"
- "**.ts"
- "**.tsx"
push:
branches:
- main
paths:
- "**.json"
- "**.ts"
- "**.tsx"

jobs:
fmt:
format:
runs-on: ubuntu-latest

steps:
- name: Setup repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/checkout@v4

- name: Setup Deno
uses: denoland/setup-deno@v1
- uses: denoland/setup-deno@v1

Check warning on line 24 in .github/workflows/deno.yml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (denoland)
with:
deno-version: v1.x

Expand Down
1 change: 0 additions & 1 deletion .github/workflows/export-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,3 @@ jobs:
branch: create-pull-request/patch-export-label
add-paths: |
.github/labels.yaml

21 changes: 15 additions & 6 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
on:
pull_request:
push:
branches: [main]
branches:
- main
paths:
- "**.json"
- "**.ts"
- "**.tsx"

jobs:
build:
Expand All @@ -20,8 +25,8 @@
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
uses: bahmutov/npm-install@v1
cache: "npm"
- run: npm ci

- run: npm run build
- run: npm run lint
Expand All @@ -35,8 +40,13 @@
"npx http-server packages/ui/storybook-static --port 6006 --silent" \
"npx wait-on tcp:6006 && npm test"

- name: Codecov
uses: codecov/codecov-action@v3
- name: compressed-size-action
uses: preactjs/[email protected]

Check warning on line 44 in .github/workflows/node.js.yml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (preactjs)
with:
pattern: "./packages/ui/lib/**/*.{js,css,html,json}"
exclude: "{**/*.map,**/node_modules/**}"

- uses: codecov/codecov-action@v3

chromatic-deployment:
runs-on: ubuntu-latest
Expand All @@ -45,9 +55,8 @@
with:
fetch-depth: 0 # 👈 Required to retrieve git history
- name: Install dependencies
uses: bahmutov/npm-install@v1

Check warning on line 58 in .github/workflows/node.js.yml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (bahmutov)
- name: Publish to Chromatic
uses: chromaui/action@v10

Check warning on line 60 in .github/workflows/node.js.yml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (chromaui)
with:
token: ${{ secrets.github_token }}
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
15 changes: 0 additions & 15 deletions .github/workflows/size.yml

This file was deleted.

15 changes: 11 additions & 4 deletions .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
name: Sync labels

on:
push:
branches:
- main
paths:
- ".github/labels.yaml"
workflow_dispatch:


permissions:
issues: write
contents: read

jobs:
labels:
label_sync:
runs-on: ubuntu-latest

timeout-minutes: 2
steps:
- uses: actions/checkout@v3
- uses: EndBug/label-sync@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
config-file: https://raw.githubusercontent.com/azu/github-label-setup/master/labels.json
config-file: .github/labels.yaml
delete-other-labels: true
Loading