-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(gha): unify GHA - renovate, megalinter, markdown, and others
- Loading branch information
Showing
30 changed files
with
364 additions
and
411 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Users referenced in this file will automatically be requested as reviewers for | ||
# PRs that modify the given paths | ||
# See https://help.github.com/articles/about-code-owners/, https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners | ||
|
||
# All code | ||
* @ruzickap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: 'Bug: This is a sample issue title' | ||
labels: bug | ||
assignees: ruzickap | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behaviour. | ||
|
||
**Expected behaviour** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: GitHub Actions Community Forum | ||
url: https://github.com/orgs/community/discussions/ | ||
about: Please ask questions about GitHub Actions here. | ||
- name: GitHub Pages help | ||
url: https://help.github.com/en/github/working-with-github-pages | ||
about: GitHub Pages documentation here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
name: Proposal | ||
about: Suggest an idea for this project | ||
title: 'Proposal: This is a sample title' | ||
labels: proposal | ||
assignees: ruzickap | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe** | ||
A clear and concise description of what the problem is. Ex. I'm always | ||
frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,56 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"branchPrefix": "renovate/", | ||
"labels": ["renovate", "renovate/{{replace '.*/' '' depName}}", "renovate/{{updateType}}"], | ||
"packageRules": [ | ||
{ | ||
"matchUpdateTypes": ["patch"], | ||
"automergeType": "branch", | ||
// Do not wait for tests - this will speed up the whole process - updating many branches + running many tests | ||
"ignoreTests": true, | ||
"automerge": true, | ||
}, | ||
{ | ||
"description": "Ignore frequent renovate updates", | ||
"matchPackageNames": ["renovatebot/github-action"], | ||
"matchUpdateTypes": ["patch"], | ||
"enabled": false | ||
}, | ||
$schema: "https://docs.renovatebot.com/renovate-schema.json", | ||
extends: [ | ||
":disableDependencyDashboard", | ||
":docker", | ||
":disableRateLimiting", | ||
":enableVulnerabilityAlertsWithLabel(security)", | ||
"config:recommended", | ||
"docker:pinDigests", | ||
"helpers:pinGitHubActionDigestsToSemver", | ||
"security:openssf-scorecard", | ||
], | ||
"git-submodules": { | ||
enabled: true, | ||
}, | ||
labels: [ | ||
"renovate", | ||
"renovate/{{replace '.*/' '' depName}}", | ||
"renovate/{{updateType}}", | ||
], | ||
lockFileMaintenance: { | ||
enabled: true, | ||
schedule: ["before 6am on Sunday"], | ||
}, | ||
packageRules: [ | ||
{ | ||
"matchPackageNames": ["renovatebot/github-action"], | ||
"matchUpdateTypes": ["minor"], | ||
"automergeType": "branch", | ||
"automerge": true, | ||
"ignoreTests": true, | ||
"schedule": ["* 0,2,4 1-7 * 0"], | ||
matchUpdateTypes: ["major"], | ||
automerge: false, | ||
}, | ||
{ | ||
"description": "Update all github-actions by default", | ||
"matchManagers": ["github-actions"], | ||
"automergeType": "branch", | ||
"automerge": true, | ||
description: "Ignore frequent renovate updates", | ||
enabled: false, | ||
matchPackageNames: ["renovatebot/github-action"], | ||
matchUpdateTypes: ["patch"], | ||
}, | ||
{ | ||
"matchManagers": ["git-submodules"], | ||
"matchUpdateTypes": ["digest"], | ||
"automerge": true, | ||
"automergeType": "branch", | ||
description: "Update renovatebot/github-action minor updates on Sundays", | ||
matchPackageNames: ["renovatebot/github-action"], | ||
matchUpdateTypes: ["minor"], | ||
schedule: ["* * * * 0"], | ||
}, | ||
], | ||
"prBodyTemplate": "{{{table}}}{{{notes}}}{{{changelogs}}}", | ||
"rebaseWhen": "behind-base-branch", | ||
"regexManagers": [ | ||
prBodyTemplate: "{{{table}}}{{{notes}}}{{{changelogs}}}", | ||
rebaseWhen: "behind-base-branch", | ||
regexManagers: [ | ||
{ | ||
"fileMatch": [ | ||
"^\\.github/workflows/.*\\.ya?ml$", | ||
"^ansible/win-simple\\.yml$", | ||
extractVersionTemplate: "{{#if extractVersion}}{{{extractVersion}}}{{else}}^v?(?<version>.+)${{/if}}", | ||
fileMatch: ["\\.ya?ml$", "\\.md$", "^Dockerfile$", "^entrypoint\\.sh$"], | ||
matchStrings: [ | ||
'# renovate: datasource=(?<datasource>.+?) depName=(?<depName>.+?)( versioning=(?<versioning>.+?))?( extractVersion=(?<extractVersion>.+?))?( registryUrl=(?<registryUrl>.+?))?\\s.*[=:]\\s*"?(?<currentValue>.+?)"?\\s', | ||
], | ||
"matchStrings": [ | ||
"# renovate: datasource=(?<datasource>.+?) depName=(?<depName>.+?)( versioning=(?<versioning>.+?))?( extractVersion=(?<extractVersion>.+?))?( registryUrl=(?<registryUrl>.+?))?\\s.*[=:]\\s*\"?(?<currentValue>.+?)\"?\\s", | ||
], | ||
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}", | ||
"extractVersionTemplate": "{{#if extractVersion}}{{{extractVersion}}}{{else}}^v?(?<version>.+)${{/if}}", | ||
versioningTemplate: "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}", | ||
}, | ||
], | ||
"git-submodules": { | ||
"enabled": true | ||
}, | ||
"separateMinorPatch": true, | ||
separateMinorPatch: true, | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.