-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
204 additions
and
214 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
blank_issues_enabled: true | ||
contact_links: | ||
- name: Ask a question | ||
about: You've come to seek help or want to discuss something related to clap | ||
about: For support or brainstorming | ||
url: https://github.com/clap-rs/clap/discussions/new | ||
# TODO: Question template (waiting for discussions template feature) |
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 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,8 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: cargo | ||
directory: "/" | ||
schedule: | ||
interval: monthly | ||
time: "07:00" | ||
open-pull-requests-limit: 10 |
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,48 @@ | ||
# These settings are synced to GitHub by https://probot.github.io/apps/settings/ | ||
|
||
repository: | ||
description: A full featured, fast Command Line Argument Parser for Rust | ||
homepage: docs.rs/clap | ||
topics: rust cli command-line argparse clap | ||
has_issues: true | ||
has_projects: false | ||
has_wiki: false | ||
has_downloads: true | ||
default_branch: main | ||
|
||
allow_squash_merge: true | ||
allow_merge_commit: true | ||
allow_rebase_merge: true | ||
|
||
# Manual: allow_auto_merge: true, see https://github.com/probot/settings/issues/402 | ||
delete_branch_on_merge: true | ||
|
||
labels: | ||
# Type | ||
- name: bug | ||
color: '#b60205' | ||
description: Not as expected | ||
- name: enhancement | ||
color: '#1d76db' | ||
description: Improve the expected | ||
# Flavor | ||
- name: question | ||
color: "#cc317c" | ||
description: Uncertainty is involved | ||
- name: breaking-change | ||
color: "#e99695" | ||
- name: good first issue | ||
color: '#c2e0c6' | ||
description: Help wanted! | ||
|
||
branches: | ||
- name: main | ||
protection: | ||
required_pull_request_reviews: null | ||
required_conversation_resolution: true | ||
required_status_checks: | ||
# Required. Require branches to be up to date before merging. | ||
strict: false | ||
contexts: ["CI", "Lint Commits", "Spell Check with Typos"] | ||
enforce_admins: false | ||
restrictions: null |
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,21 @@ | ||
name: Security audit | ||
on: | ||
pull_request: | ||
paths: | ||
- '**/Cargo.toml' | ||
- '**/Cargo.lock' | ||
push: | ||
paths: | ||
- '**/Cargo.toml' | ||
- '**/Cargo.lock' | ||
schedule: | ||
- cron: '3 3 3 * *' | ||
jobs: | ||
security_audit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
- uses: actions-rs/audit-check@v1 | ||
with: | ||
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,14 @@ | ||
name: Lint Commits | ||
on: [pull_request] | ||
|
||
jobs: | ||
committed: | ||
name: Lint Commits | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Actions Repository | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Lint Commits | ||
uses: crate-ci/committed@master |
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 @@ | ||
name: pre-commit | ||
on: | ||
pull_request: | ||
push: | ||
branches: [source] | ||
jobs: | ||
pre-commit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
- uses: pre-commit/[email protected] |
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 @@ | ||
name: Spelling | ||
on: [pull_request] | ||
|
||
jobs: | ||
spelling: | ||
name: Spell Check with Typos | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Actions Repository | ||
uses: actions/checkout@v2 | ||
- name: Spell Check Repo | ||
uses: crate-ci/typos@master |
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,35 +1,2 @@ | ||
# Compiled files | ||
*.o | ||
*.so | ||
*.rlib | ||
*.dll | ||
|
||
# Executables | ||
*.exe | ||
|
||
# Generated by Cargo | ||
target/ | ||
|
||
# Cargo files | ||
target | ||
Cargo.lock | ||
|
||
# Temp files | ||
.*~ | ||
|
||
# Backup files | ||
*.bak | ||
*.bk | ||
*.orig | ||
|
||
# Project files | ||
.vscode/* | ||
.idea/* | ||
clap-rs.iml | ||
|
||
# Auxiliary files | ||
test-results.test | ||
expanded.rs | ||
clap_derive/expanded.rs | ||
|
||
# ctags | ||
**/*.vi |
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,21 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v2.3.0 | ||
hooks: | ||
- id: check-yaml | ||
stages: [commit] | ||
- id: check-json | ||
stages: [commit] | ||
- id: check-toml | ||
stages: [commit] | ||
- id: check-merge-conflict | ||
stages: [commit] | ||
- id: check-case-conflict | ||
stages: [commit] | ||
- id: detect-private-key | ||
stages: [commit] | ||
- repo: https://github.com/crate-ci/committed | ||
rev: v0.2.5 | ||
hooks: | ||
- id: committed | ||
stages: [commit-msg] |
Oops, something went wrong.