-
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.
* update renovate * update label-sync * update pr labeler * add lint workflow * specify version * cleanup * add commitlint config
- Loading branch information
1 parent
c78b994
commit 730524f
Showing
13 changed files
with
141 additions
and
70 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{ | ||
"rules": { | ||
"type-enum": [ | ||
2, | ||
"always", | ||
[ | ||
"chore", | ||
"ci", | ||
"deps", | ||
"feat", | ||
"fix", | ||
"patch", | ||
"style" | ||
] | ||
], | ||
"subject-empty": [ | ||
2, | ||
"never" | ||
], | ||
"type-case": [ | ||
2, | ||
"always", | ||
"lower-case" | ||
], | ||
"subject-case": [ | ||
0 | ||
], | ||
"type-empty": [ | ||
2, | ||
"never" | ||
], | ||
"scope-case": [ | ||
2, | ||
"always", | ||
"lower-case" | ||
], | ||
"scope-enum": [ | ||
0 | ||
], | ||
"header-max-length": [ | ||
2, | ||
"always", | ||
120 | ||
] | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
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
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,38 @@ | ||
--- | ||
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | ||
name: Label Sync | ||
|
||
on: | ||
# Manual Trigger | ||
workflow_dispatch: | ||
inputs: | ||
dry-run: | ||
description: Dry Run | ||
default: true | ||
required: false | ||
type: boolean | ||
|
||
# Dry Run on any PR that changes the labels config or the workflow | ||
pull_request: | ||
paths: | ||
- .github/workflows/label-sync.yaml | ||
- .github/labels.yaml | ||
|
||
# "Wet" Run on any push to the main branch that changes the labels config or the workflow | ||
push: | ||
branches: ["main", "master"] | ||
paths: | ||
- .github/workflows/label-sync.yaml | ||
- .github/labels.yaml | ||
|
||
# "Wet" Run hourly | ||
schedule: | ||
- cron: "0 * * * *" | ||
|
||
jobs: | ||
label-sync: | ||
uses: mirceanton/reusable-workflows/.github/workflows/reusable-label-sync.yaml@f4dce998a168bbe2e53664acf4dd29407cd3d29f # v3.4.19 | ||
secrets: inherit | ||
with: | ||
dry-run: ${{ inputs.dry-run || github.event_name == 'pull_request' }} | ||
config-file: .github/labels.yaml |
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,13 @@ | ||
--- | ||
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | ||
name: Labeler | ||
|
||
on: | ||
pull_request_target: {} | ||
|
||
jobs: | ||
pr-labeler: | ||
uses: mirceanton/reusable-workflows/.github/workflows/reusable-labeler.yaml@f4dce998a168bbe2e53664acf4dd29407cd3d29f # v3.4.19 | ||
secrets: inherit | ||
with: | ||
config-file: .github/labeler.yaml |
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,19 @@ | ||
--- | ||
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | ||
name: Lint | ||
|
||
on: | ||
# Manual Trigger | ||
workflow_dispatch: {} | ||
|
||
# Run on any PR | ||
pull_request: {} | ||
|
||
jobs: | ||
actionlint: | ||
uses: mirceanton/reusable-workflows/.github/workflows/reusable-actionlint.yaml@f4dce998a168bbe2e53664acf4dd29407cd3d29f # v3.4.19 | ||
secrets: inherit | ||
|
||
commitlint: | ||
uses: mirceanton/reusable-workflows/.github/workflows/reusable-commitlint.yaml@f4dce998a168bbe2e53664acf4dd29407cd3d29f # v3.4.19 | ||
secrets: inherit |
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"dependencyDashboardTitle": "Renovate Dashboard 🤖", | ||
"extends": [ | ||
":dependencyDashboard", | ||
"config:best-practices", | ||
":disableRateLimiting", | ||
":semanticCommits", | ||
"github>mirceanton/renovate-config//labels/all.json5", | ||
"github>mirceanton/renovate-config//semantic-commits/all.json5" | ||
] | ||
} |