Skip to content
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
53 changes: 28 additions & 25 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,40 +1,43 @@
# Pull request template
<!--- Provide a general summary of your changes in the Title above -->

<!--- Please provide a general summary of your changes in the title above -->
## Description

## Type of changes
<!--- Describe your changes in detail -->

<!-- Please try to limit your pull request to one type; submit multiple pull requests if needed. -->
## Motivation and Context

- [ ] CI
- [ ] Bugfix
- [ ] Feature
- [ ] Generic maintenance tasks
- [ ] Documentation content changes
- [ ] Code style update (formatting, renaming)
- [ ] Refactoring (no functional changes, no URL changes)
- [ ] Improving the performance of the project (not introducing new features)
- [ ] Other (please describe):
<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->

Issue Number: N/A
## How Has This Been Tested?

## What is the current behavior?
<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran to -->
<!--- see how your change affects other areas of the code, etc. -->

<!-- Please describe the current behavior that you are modifying or linking to a relevant issue. -->
## Screenshots (if appropriate):

## What is the new behavior?
## Types of changes

<!-- Please describe the behavior or changes that are being added by this PR. -->
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->

### Does this introduce a breaking change?
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Documentation update (if none of the other choices apply)
- [ ] Chore (general maintenance, refactoring, or code style update)

- [ ] Yes
- [ ] No
## Checklist:

<!-- If this does introduce a breaking change, please describe the impact and migration path for existing applications below. -->
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->

## Other information
- [ ] My code follows the code style of this project.
- [ ] I have read the **CONTRIBUTING** document.
- [ ] I have added tests to cover my changes.
- [ ] All new and existing tests passed.
- [ ] I have updated the documentation accordingly.

<!-- Any other information that is important to this PR, such as screenshots of how the component looks before and after the change. -->
## Other information (if applicable)

N/A
<!--- Any other information that is important to this PR such as environment variables, special considerations, etc. -->
21 changes: 0 additions & 21 deletions .github/workflows/assign.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: false
10 changes: 0 additions & 10 deletions .github/workflows/sync-labels.yml

This file was deleted.

28 changes: 16 additions & 12 deletions .github/workflows/trunk-check.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,27 @@
---
name: "⭕ Trunk"
name: Trunk Code Quality
on:
push:
branches: [main]
tags: ["v*.*.*"]
pull_request:
types: [opened, synchronize]
schedule:
- cron: "0 05 * * 5"
workflow_dispatch: {}

concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true

permissions: read-all

jobs:
check:
if: github.event.schedule != '0 05 * * 5'
name: "⚡"
uses: z-shell/.github/.github/workflows/trunk.yml@main
upload:
if: github.event.schedule == '0 05 * * 5'
name: "🆙"
uses: z-shell/.github/.github/workflows/trunk.yml@main
secrets:
trunk-token: ${{ secrets.TRUNK_TOKEN }}
runs-on: ubuntu-latest
permissions:
checks: write # For trunk to post annotations
contents: read # For repo checkout
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Trunk Code Quality
uses: trunk-io/trunk-action@75699af9e26881e564e9d832ef7dc3af25ec031b
2 changes: 2 additions & 0 deletions .trunk/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
*logs
*actions
*notifications
*tools
plugins
user_trunk.yaml
user.yaml
tmp
1 change: 1 addition & 0 deletions .trunk/config/.markdownlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ spaces: false
url: false
whitespace: false
MD041: false
MD026: false
7 changes: 7 additions & 0 deletions .trunk/config/.yamllint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
rules:
quoted-strings:
required: only-when-needed
extra-allowed: ["{|}"]
key-duplicates: {}
octal-values:
forbid-implicit-octal: true
26 changes: 17 additions & 9 deletions .trunk/trunk.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,31 @@
version: 0.1
cli:
version: 1.1.0
version: 1.24.0
plugins:
sources:
- id: trunk
ref: v0.0.6
ref: v1.7.0
uri: https://github.com/trunk-io/plugins
lint:
disabled:
- yamllint
enabled:
- actionlint@1.6.22
- svgo@3.0.2
- gitleaks@8.15.1
- markdownlint@0.32.2
- checkov@3.2.441
- oxipng@9.1.5
- trufflehog@3.89.1
- actionlint@1.7.7
- svgo@3.3.2
- gitleaks@8.27.2
- markdownlint@0.45.0
- git-diff-check
- prettier@2.7.1
- prettier@3.5.3
- shellcheck@0.10.0
- shfmt@3.7.0
runtimes:
enabled:
- go@1.18.3
- node@16.14.2
- python@3.10.8
- go@1.21.0
- node@22.16.0
actions:
enabled:
- trunk-announce
Expand Down
Binary file modified docs/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/images/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.