diff --git a/.struct.yaml b/.struct.yaml index 3220480..7e14cae 100644 --- a/.struct.yaml +++ b/.struct.yaml @@ -1,26 +1,5 @@ -structure: - - .github/workflows/pre-commit.yaml: - content: | - name: pre-commit - - on: - pull_request: - push: - branches: [{{@ "httpdss/struct" | default_branch @}}] - - jobs: - pre-commit: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@{{@ "actions/checkout" | latest_release @}} - - uses: actions/setup-python@{{@ "actions/setup-python" | latest_release @}} - - uses: pre-commit/action@{{@ "pre-commit/action" | latest_release @}} - - .pre-commit-config.yaml: - content: | - repos: - - repo: https://github.com/pre-commit/pre-commit-hooks - rev: {{@ "pre-commit/pre-commit-hooks" | latest_release @}} - hooks: - - id: check-yaml - - id: end-of-file-fixer - - id: trailing-whitespace +folders: + - ./: + struct: + - github/workflows/pre-commit + - github/workflows/release-drafter