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
14 changes: 14 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Path-based area labels for pull requests (actions/labeler v5 syntax), used by the shared
# conventions workflow from kaffeelisten/.github.
area:landing:
- changed-files:
- any-glob-to-any-file: ['index.html', '404.html', 'styles.css', '*.js', 'assets/**', 'robots.txt']
area:brand:
- changed-files:
- any-glob-to-any-file: ['assets/layers/**', 'assets/logo.svg', 'assets/og.jpg', 'assets/fonts/**']
area:delivery:
- changed-files:
- any-glob-to-any-file: ['.github/**', '.nojekyll']
area:docs:
- changed-files:
- any-glob-to-any-file: ['docs/**', '*.md']
25 changes: 25 additions & 0 deletions .github/workflows/conventions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Conventions

# Calls the organisation's shared conventions in kaffeelisten/.github. Pair it with a
# `.github/labeler.yml` that maps this repository's folders to its `area:*` labels.
on:
pull_request_target:
types: [opened, edited, reopened, synchronize, ready_for_review, converted_to_draft, labeled, unlabeled, closed]
issues:
types: [opened, reopened, closed, assigned, labeled]
issue_comment:
types: [created]
schedule:
- cron: '23 5 * * *'
workflow_dispatch:

permissions: {}

jobs:
conventions:
uses: kaffeelisten/.github/.github/workflows/org-conventions.yml@main
permissions:
contents: read
issues: write
pull-requests: write
secrets: inherit
Loading