Skip to content

Commit

Permalink
chore: remove token (#1940)
Browse files Browse the repository at this point in the history
* chore: remove token

* chore: load config

* fix: skip azu settings

* chore: sync labels

* chore: npm install

* fix: remove github_token

* choer: update labels

* feat: add labels

* chore: sync labels

* feat: add context read

* 🤔

* 🤔

* 🤔

* 🤔

* chore: rename labels

* chore: rename labels

* 🤔

* chore: load uri

* fix: load settings

* skip sync

* chore: sync labels

* fix: revet yml

* foramt

* fix: skip build
  • Loading branch information
9renpoto authored Dec 31, 2023
1 parent c0918f5 commit ac867fe
Show file tree
Hide file tree
Showing 7 changed files with 72 additions and 82 deletions.
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
description: 'Inactive issues and PRs'
description: "Inactive issues and PRs"
aliases: []
-
name: 'status: wontfix'
- name: "status: 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 @@ name: Deno

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
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 @@ name: Node CI
on:
pull_request:
push:
branches: [main]
branches:
- main
paths:
- "**.json"
- "**.ts"
- "**.tsx"

jobs:
build:
Expand All @@ -20,8 +25,8 @@ jobs:
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 @@ jobs:
"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]
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 @@ -49,5 +59,4 @@ jobs:
- name: Publish to Chromatic
uses: chromaui/action@v10
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

0 comments on commit ac867fe

Please sign in to comment.