chore: update templates and workflows

This commit is contained in:
2024-08-14 23:43:56 +03:00
parent 3c7d53d3e6
commit f18c1061f1
7 changed files with 19 additions and 5 deletions

View File

@@ -10,7 +10,7 @@ max_line_length = 160
tab_width = 2 tab_width = 2
trim_trailing_whitespace = true trim_trailing_whitespace = true
[*.php] [{*.php,*.json}]
indent_size = 4 indent_size = 4
max_line_length = 110 max_line_length = 110
tab_width = 4 tab_width = 4

View File

@@ -1,4 +1,6 @@
{ {
"$schema": "https://docs.renovatebot.com/renovate-schema.json", "$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>ivuorinen/.github:renovate-config"] "extends": [
"github>ivuorinen/renovate-config"
]
} }

View File

@@ -8,6 +8,11 @@ on:
pull_request: pull_request:
branches: [master, main] branches: [master, main]
permissions:
contents: read
packages: read
statuses: write
jobs: jobs:
SuperLinter: SuperLinter:
uses: ivuorinen/.github/.github/workflows/pr-lint.yml@main uses: ivuorinen/.github/.github/workflows/pr-lint.yml@main

View File

@@ -5,6 +5,10 @@ name: Release Drafter
on: on:
workflow_call: workflow_call:
permissions:
contents: write
statuses: write
jobs: jobs:
Draft: Draft:
uses: ivuorinen/.github/.github/workflows/sync-labels.yml@main uses: ivuorinen/.github/.github/workflows/sync-labels.yml@main

View File

@@ -13,6 +13,9 @@ on:
workflow_call: workflow_call:
workflow_dispatch: workflow_dispatch:
permissions:
issues: write
jobs: jobs:
SyncLabels: SyncLabels:
uses: ivuorinen/.github/.github/workflows/sync-labels.yml@main uses: ivuorinen/.github/.github/workflows/sync-labels.yml@main

View File

@@ -1,6 +1,6 @@
MIT License MIT License
Copyright (c) 2023 Ismo Vuorinen Copyright (c) 2024 Ismo Vuorinen
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal