Skip to content

Commit bb12215

Browse files
committed
Bootstrap module with basics
1 parent 2352a6f commit bb12215

16 files changed

+549
-6
lines changed

.gitattributes

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/.github/ export-ignore
2+
/tools/ export-ignore
3+
/tests/ export-ignore
4+
codecov.yml export-ignore
5+
.editorconfig export-ignore
6+
.gitattributes export-ignore
7+
.gitignore export-ignore
8+
phpcs.xml export-ignore
9+
phpstan.xml export-ignore
10+
phpstan-dev.xml export-ignore
11+
phpunit.xml export-ignore
12+
.php_cs.dist export-ignore
13+
.markdownlintignore export-ignore
14+
.markdownlintrc export-ignore

.github/dependabot.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
3+
# To get started with Dependabot version updates, you'll need to specify which
4+
# package ecosystems to update and where the package manifests are located.
5+
# Please see the documentation for all configuration options:
6+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
7+
8+
version: 2
9+
updates:
10+
- package-ecosystem: "github-actions" # See documentation for possible values
11+
directory: "/" # Location of package manifests
12+
schedule:
13+
interval: "weekly"
14+
groups:
15+
all-actions:
16+
patterns: ["*"]
17+
18+
- package-ecosystem: "composer" # See documentation for possible values
19+
directory: "/" # Location of package manifests
20+
schedule:
21+
interval: "weekly"
22+
allow:
23+
# Allow both direct and indirect updates for all packages
24+
- dependency-type: "all"
25+
ignore:
26+
- dependency-name: "*"
27+
update-types: ["version-update:semver-major"]
28+
groups:
29+
production-dependencies:
30+
dependency-type: "production"
31+
exclude-patterns:
32+
- "symfony/*"
33+
development-dependencies:
34+
dependency-type: "development"
35+
symfony:
36+
patterns:
37+
- "symfony/*"
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
3+
name: 'Lock Threads'
4+
5+
on: # yamllint disable-line rule:truthy
6+
schedule:
7+
- cron: '28 0 * * 2'
8+
workflow_dispatch:
9+
10+
permissions:
11+
issues: write
12+
pull-requests: write
13+
14+
concurrency:
15+
group: lock
16+
17+
jobs:
18+
action:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: dessant/lock-threads@v6
22+
with:
23+
issue-inactive-days: '90'
24+
pr-inactive-days: '90'
25+
log-output: true
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
---
2+
3+
name: Documentation
4+
5+
on: # yamllint disable-line rule:truthy
6+
push:
7+
branches: [master, release-*]
8+
paths:
9+
- '**.md'
10+
pull_request:
11+
branches: [master, release-*]
12+
paths:
13+
- '**.md'
14+
workflow_dispatch:
15+
16+
jobs:
17+
quality:
18+
name: Quality checks
19+
runs-on: [ubuntu-latest]
20+
21+
steps:
22+
- uses: actions/checkout@v6
23+
24+
- name: Lint markdown files
25+
uses: nosborn/github-action-markdown-cli@v3
26+
with:
27+
files: .
28+
ignore_path: .markdownlintignore
29+
30+
- name: Perform spell check
31+
uses: codespell-project/actions-codespell@v2
32+
with:
33+
path: '**/*.md'
34+
check_filenames: true
35+
ignore_words_list: tekst
36+
37+
build:
38+
name: Build documentation
39+
needs: quality
40+
runs-on: [ubuntu-latest]
41+
42+
steps:
43+
- name: Run docs build
44+
if: github.event_name != 'pull_request'
45+
uses: actions/github-script@v8
46+
with:
47+
# Token has to be generated on a user account that controls the docs-repository.
48+
# The _only_ scope to select is "Access public repositories", nothing more.
49+
github-token: ${{ secrets.PAT_TOKEN }}
50+
script: |
51+
await github.rest.actions.createWorkflowDispatch({
52+
owner: 'simplesamlphp',
53+
repo: 'docs',
54+
workflow_id: 'mk_docs.yml',
55+
ref: 'main'
56+
})

0 commit comments

Comments
 (0)