Skip to content

Commit

Permalink
chore: update rust dependency (#1938)
Browse files Browse the repository at this point in the history
* chore: update rust dependency

* chore: add label sync

* chore: add Type

* feat: add labels
  • Loading branch information
9renpoto authored Dec 31, 2023
1 parent e4ab4c9 commit c4ddeec
Show file tree
Hide file tree
Showing 9 changed files with 75 additions and 44 deletions.
56 changes: 31 additions & 25 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,38 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: '/'
schedule:
interval: daily
time: '03:00'
timezone: 'Asia/Tokyo'
- package-ecosystem: npm
directory: '/'
schedule:
interval: daily
time: '03:00'
timezone: 'Asia/Tokyo'
groups:
tauri-apps:
- package-ecosystem: cargo
directory: /
labels:
- "Type: Maintenance"
schedule:
interval: daily
- package-ecosystem: github-actions
directory: "/"
labels:
- "Type: Maintenance"
schedule:
interval: daily
- package-ecosystem: npm
directory: "/"
labels:
- "Type: Maintenance"
schedule:
interval: daily
groups:
tauri-apps:
patterns:
- "@tauri-apps*"
preact:
- "@tauri-apps*"
preact:
patterns:
- "@preact*"
- "preact"
9renpoto:
- "@preact*"
- "preact"
9renpoto:
patterns:
- "@9renpoto*"
storybook:
- "@9renpoto*"
storybook:
patterns:
- "@storybook*"
- "storybook"
- "@storybook*"
- "storybook"
update-types:
- "minor"
- "patch"
- "minor"
- "patch"
2 changes: 1 addition & 1 deletion .github/mergeable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ mergeable:
validate:
- do: label
must_include:
regex: bug|documentation|enhancement
regex: ^Type|bug|documentation|enhancement
message: must include types
23 changes: 16 additions & 7 deletions .github/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,24 @@ changelog:
authors:
- octocat
categories:
- title: ':bug: Type: Bug'
- title: ":boom: Type: Breaking Change"
labels:
- 'bug'
- title: ':memo: Documentation'
- "Type: Breaking Change"
- title: ":bug: Type: Bug"
labels:
- 'documentation'
- title: ':rocket: Type: Feature'
- "Type: Bug"
- "bug"
- title: ":house: Refactoring"
labels:
- 'enhancement'
- "Type: Refactoring"
- title: ":memo: Documentation"
labels:
- "Type: Documentation"
- "documentation"
- title: ":rocket: Type: Feature"
labels:
- "Type: Feature"
- "enhancement"
- title: Other Changes
labels:
- '*'
- "*"
4 changes: 2 additions & 2 deletions .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: actionlint
on:
pull_request:
paths:
- '.github/actions/**'
- '.github/workflows/**'
- ".github/actions/**"
- ".github/workflows/**"

jobs:
actionlint:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bump-schedule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Bump version (cron)

on:
schedule:
- cron: '15 3 * * TUE'
- cron: "15 3 * * TUE"

jobs:
scheduled_bump:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ on:
workflow_dispatch:
inputs:
semver:
description: 'Which SemVer'
description: "Which SemVer"
required: true
default: 'patch'
default: "patch"
type: choice
options:
- major
Expand Down Expand Up @@ -80,10 +80,10 @@ jobs:
with:
base: main
branch: main-${{ steps.get_version.outputs.NEW_VERSION }}
commit-message: 'bump: v${{ steps.get_version.outputs.NEW_VERSION }}'
commit-message: "bump: v${{ steps.get_version.outputs.NEW_VERSION }}"
body: ${{ steps.get_release_note.outputs.result }}
title: 'chore: bump v${{ steps.get_version.outputs.NEW_VERSION }}'
title: "chore: bump v${{ steps.get_version.outputs.NEW_VERSION }}"
labels: |
documentation
draft: true
milestone: 'v${{ steps.get_version.outputs.NEW_VERSION }}'
milestone: "v${{ steps.get_version.outputs.NEW_VERSION }}"
2 changes: 1 addition & 1 deletion .github/workflows/cspell.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'Check spelling'
name: "Check spelling"
on:
pull_request:

Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Sync labels
on:
workflow_dispatch:

permissions:
issues: write

jobs:
labels:
runs-on: ubuntu-latest

steps:
- uses: EndBug/label-sync@v2
with:
config-file: https://raw.githubusercontent.com/azu/github-label-setup/master/labels.json
delete-other-labels: true
4 changes: 2 additions & 2 deletions .github/workflows/tauri.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Node and Rust
on:
pull_request:
paths:
- 'apps/desktop/**'
- 'Cargo.toml'
- "apps/desktop/**"
- "Cargo.toml"
push:
branches:
- main
Expand Down

0 comments on commit c4ddeec

Please sign in to comment.