Skip to content

Commit 56fad89

Browse files
authored
Merge branch 'pidcodes:master' into master
2 parents 4aea376 + 9931091 commit 56fad89

File tree

601 files changed

+4842
-116
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

601 files changed

+4842
-116
lines changed

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# See: https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#about-the-dependabotyml-file
2+
version: 2
3+
4+
updates:
5+
# Configure check for outdated GitHub Actions actions in workflows.
6+
# See: https://docs.github.com/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
7+
- package-ecosystem: github-actions
8+
directory: / # Check the repository's workflows under /.github/workflows/
9+
schedule:
10+
interval: daily

.github/workflows/htmlproofer.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Trigger the workflow on push or pull request
2+
on: [push, pull_request]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
name: HTML Proofer
7+
env:
8+
HTMLPROOFER_OPTIONS: './_site --internal-domains=pid.codes --check-html --check-opengraph --report-missing-names --log-level=:debug --url-ignore /www.andreas.org/,/www.kbles.ru/,/github.com\/KK2345\/TinyPassword$/,/github.com\/KK2345\/TinyPassword\/blob\/master\/README.md/,/www.oshec.org/,/github.com\/xuio\/Cynteract$/,/github.com\/mattomatto\/craft$/,/triparts.strikingly.com$/,/facebook.com/varioskybean$/'
9+
steps:
10+
- uses: actions/checkout@v4
11+
- uses: ruby/setup-ruby@v1
12+
with:
13+
ruby-version: '2.6'
14+
- uses: actions/cache@v4
15+
with:
16+
path: vendor/bundle
17+
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }}
18+
restore-keys: |
19+
${{ runner.os }}-gems-
20+
- name: Bundle install
21+
run: |
22+
bundle config path vendor/bundle
23+
bundle install --jobs 4 --retry 3
24+
- run: bundle exec jekyll doctor
25+
- run: bundle exec jekyll build
26+
- run: bundle exec htmlproofer $HTMLPROOFER_OPTIONS --disable-external
27+
# External check fail because they fetch too quickly from sites and get
28+
# 429 responses. We should cache checks and rate limit them as well.
29+
# - run: bundle exec htmlproofer $HTMLPROOFER_OPTIONS
30+
- run: bundle exec github-pages health-check

.github/workflows/validate.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Trigger the workflow on push or pull request
2+
on: [push, pull_request]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
name: Python Validator
7+
steps:
8+
- uses: actions/checkout@v4
9+
- uses: actions/setup-python@v5
10+
with:
11+
python-version: '3.x'
12+
- run: pip install -r requirements.txt; python3 -m test.validate_pids
13+

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
_site/
22
.sass-cache/
33
.DS_Store
4+
/test/__pycache__
5+
/.bundle
6+
/vendor
7+
/Gemfile.lock
8+
/.jekyll-metadata

.travis-ci.sh

Lines changed: 0 additions & 16 deletions
This file was deleted.

.travis.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)