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
1 change: 0 additions & 1 deletion .asf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,3 @@ notifications:
commits: [email protected]
issues: [email protected]
pullrequests: [email protected]

27 changes: 27 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# https://pre-commit.com/
name: Lint

on: [pull_request]

permissions:
contents: read

jobs:
pre-commit:
name: Run pre-commit
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install
run: |
python -m pip install --upgrade pip
pip install pre-commit
- name: Set PY
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> "$GITHUB_ENV"
- uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
- name: Run pre-commit
run: pre-commit run --all-files
37 changes: 37 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
# https://pre-commit.com/
default_stages: [pre-commit, pre-push]
default_language_version:
# force all unspecified Python hooks to run python3
python: python3
minimum_pre_commit_version: "3.2.0"
repos:
- repo: meta
hooks:
- id: identity
name: run identity
description: check your identity
- id: check-hooks-apply
name: run check-hooks-apply
description: check hooks apply to the repository
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-ast
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-illegal-windows-names
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable
- id: check-vcs-permalinks
- id: check-yaml
- id: detect-private-key
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: forbid-submodules
- id: mixed-line-ending
- id: requirements-txt-fixer
files: ^requirements\.txt$
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
exclude: \.svg$
2 changes: 0 additions & 2 deletions apache-trusted-release/platform.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,5 +124,3 @@ Note: this section is a flexible outline of what we intend for the UI, and may c
6. Page Template
- Responsive with Header(Hamburger)/Content/Footer.
- Include Search in Header(Hamburger)


1 change: 0 additions & 1 deletion apache-trusted-release/requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,3 @@ While reading consider these Notes:
> There are policy implications to the automation of digital signatures.
> For now, creating digital signatures on certain artifact types must be done prior to GPG signing and
> prior to submission of the release candidate.

1 change: 0 additions & 1 deletion content/css/bootstrap.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/css/foundation.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/js/bootstrap.bundle.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion content/js/vendor/foundation.js
Original file line number Diff line number Diff line change
Expand Up @@ -9121,4 +9121,4 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons

// Window exports
Foundation.plugin(Tooltip, 'Tooltip');
}(jQuery);
}(jQuery);
2 changes: 1 addition & 1 deletion content/js/vendor/foundation.min.js

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions content/pages/platform.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,5 +128,3 @@ Note: this section is a flexible outline of what we intend for the UI, and may c
6. Page Template
- Responsive with Header(Hamburger)/Content/Footer.
- Include Search in Header(Hamburger)


1 change: 0 additions & 1 deletion content/pages/trusted-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,3 @@ The main project is the Apache Trusted Release Platform.
> There are policy implications to the automation of digital signatures.
> For now, creating digital signatures on certain artifact types must be done prior to GPG signing and
> prior to submission of the release candidate.

1 change: 0 additions & 1 deletion content/pages/volunteer.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@ There are some basic things you could do if you're going to help out with the AS
- Discuss policy clarifications and other difficult issues including moving questions and proposals to the apprioriate place.

**Come talk to us on [Slack](https://the-asf.slack.com/) in the #tooling-discuss channel!**

1 change: 0 additions & 1 deletion content/theme/templates/blog.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,3 @@
</body>
</html>
{% endblock %}

1 change: 0 additions & 1 deletion content/theme/templates/styles.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,3 @@
margin-top: 5px;
}
</style>

1 change: 0 additions & 1 deletion pagefind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,3 @@ fi

echo "Running pagefind on ${PELICAN_OUTPUT_PATH}"
${PAGEFIND} --site ${PELICAN_OUTPUT_PATH} --output-subdir "_pagefind"

3 changes: 0 additions & 3 deletions pelicanconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,3 @@
# Configure ignore files
# File and directory basenames matching any of these patterns will be ignored by the processor.
IGNORE_FILES = [ 'theme', ]