Skip to content

Commit 90b77a8

Browse files
authored
Merge pull request #8 from revanite-io/jm_repo_standards
fix: Standardize repository features
2 parents 998516e + 81e2343 commit 90b77a8

File tree

14 files changed

+354
-21
lines changed

14 files changed

+354
-21
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @revanite-io/coders
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
name: Bug report
3+
description: Create a report to help us improve
4+
labels:
5+
- bug
6+
body:
7+
- type: textarea
8+
attributes:
9+
label: Version of privateer
10+
description: The version of privateer you're experiencing the bug on.
11+
validations:
12+
required: true
13+
14+
- type: textarea
15+
attributes:
16+
label: Describe the bug
17+
description: A clear and concise description of what the bug is.
18+
validations:
19+
required: true
20+
21+
- type: textarea
22+
attributes:
23+
label: To Reproduce
24+
description: Steps to reproduce the behavior
25+
placeholder: |
26+
1. Go to '...'
27+
2. Click on '....'
28+
3. Scroll down to '....'
29+
4. See error
30+
validations:
31+
required: true
32+
33+
- type: textarea
34+
attributes:
35+
label: Expected behavior
36+
description: A clear and concise description of what you expected to happen.
37+
validations:
38+
required: true
39+
40+
- type: textarea
41+
attributes:
42+
label: Screenshots
43+
description: If applicable, add screenshots to help explain your problem.
44+
validations:
45+
required: false
46+
47+
- type: textarea
48+
attributes:
49+
label: Additional context
50+
description: Add any other context about the problem here.
51+
validations:
52+
required: false

.github/ISSUE_TEMPLATE/config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
blank_issues_enabled: true
2+
3+
contact_links:
4+
- name: Ask a question by filing an issue
5+
url: https://github.com/revanite-io/osps-baseline-action/issues/new/choose
6+
about: Ask a question by filing an issue
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
name: Feature request
3+
description: Suggest an idea for this project
4+
labels:
5+
- enhancement
6+
body:
7+
- type: textarea
8+
attributes:
9+
label: Is your feature request related to a problem?
10+
description: A clear and concise description of what the problem is. Please describe.
11+
placeholder: |
12+
Ex. I'm always frustrated when [...]
13+
validations:
14+
required: false
15+
16+
- type: textarea
17+
attributes:
18+
label: Describe the solution you'd like
19+
description: A clear and concise description of what you want to happen.
20+
validations:
21+
required: true
22+
23+
- type: textarea
24+
attributes:
25+
label: Describe alternatives you've considered
26+
description: A clear and concise description of any alternative solutions or features you've considered.
27+
validations:
28+
required: false
29+
30+
- type: textarea
31+
attributes:
32+
label: Additional context
33+
description: Add any other context or screenshots about the feature request here.
34+
validations:
35+
required: false

.github/dependabot.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
version: 2
3+
updates:
4+
- package-ecosystem: "github-actions"
5+
directory: "/"
6+
schedule:
7+
interval: "weekly"
8+
commit-message:
9+
prefix: "chore(deps)"
10+
labels: ["github_actions", "dependencies"]
11+
groups:
12+
dependencies:
13+
applies-to: version-updates
14+
update-types:
15+
- "minor"
16+
- "patch"

.github/release-drafter.yml

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
---
2+
name-template: "v$RESOLVED_VERSION"
3+
tag-template: "v$RESOLVED_VERSION"
4+
template: |
5+
# Changelog
6+
$CHANGES
7+
8+
See details of [all code changes](https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION) since previous release
9+
10+
categories:
11+
- title: "🚀 Features"
12+
labels:
13+
- "feature"
14+
- "enhancement"
15+
- title: "🐛 Bug Fixes"
16+
labels:
17+
- "fix"
18+
- "bugfix"
19+
- "bug"
20+
- title: "🧰 Maintenance"
21+
labels:
22+
- "infrastructure"
23+
- "automation"
24+
- "documentation"
25+
- "dependencies"
26+
- "maintenance"
27+
- "revert"
28+
- title: "🏎 Performance"
29+
label: "performance"
30+
change-template: "- $TITLE @$AUTHOR (#$NUMBER)"
31+
version-resolver:
32+
major:
33+
labels:
34+
- "breaking"
35+
minor:
36+
labels:
37+
- "feature"
38+
- "enhancement"
39+
patch:
40+
labels:
41+
- "fix"
42+
- "documentation"
43+
- "maintenance"
44+
default: patch
45+
autolabeler:
46+
- label: "automation"
47+
title:
48+
- "/^(build|ci|perf|refactor|test).*/i"
49+
- label: "enhancement"
50+
title:
51+
- "/^(style).*/i"
52+
- label: "documentation"
53+
title:
54+
- "/^(docs).*/i"
55+
- label: "feature"
56+
title:
57+
- "/^(feat).*/i"
58+
- label: "fix"
59+
title:
60+
- "/^(fix).*/i"
61+
- label: "infrastructure"
62+
title:
63+
- "/^(infrastructure).*/i"
64+
- label: "maintenance"
65+
title:
66+
- "/^(chore|maintenance).*/i"
67+
- label: "revert"
68+
title:
69+
- "/^(revert).*/i"

.github/security-insights.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
header:
3+
last-reviewed: "2026-02-19"
4+
last-updated: "2026-02-19"
5+
schema-version: "2.2.0"
6+
url: "https://github.com/revanite-io/osps-baseline-action/blob/main/.github/security-insights.yml"
7+
8+
project:
9+
name: "osps-baseline-action"
10+
homepage: "https://github.com/revanite-io/osps-baseline-action"
11+
administrators:
12+
- name: "Eddie Knight"
13+
primary: true
14+
affiliation: "revanite-io"
15+
- name: "Jason Meridth"
16+
primary: false
17+
affiliation: "revanite-io"
18+
repositories:
19+
- name: "osps-baseline-action"
20+
url: "https://github.com/revanite-io/osps-baseline-action"
21+
vulnerability-reporting:
22+
reports-accepted: true
23+
bug-bounty-available: false
24+
policy: "https://github.com/revanite-io/osps-baseline-action/security/advisories"
25+
26+
repository:
27+
url: "https://github.com/revanite-io/osps-baseline-action"
28+
status: "Active"
29+
accepts-change-request: true
30+
accepts-automated-change-request: true
31+
core-team:
32+
- name: "Eddie Knight"
33+
primary: true
34+
affiliation: "Sonatype"
35+
- name: "Jason Meridth"
36+
primary: false
37+
affiliation: "Chainguard"
38+
license:
39+
expression: "Apache-2.0"
40+
url: "https://github.com/revanite-io/osps-baseline-action/blob/main/LICENSE"
41+
security:
42+
assessments:
43+
- comment: "This project is itself an OSPS Baseline assessment tool"

.github/workflows/auto-labeler.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
name: "Auto Labeler"
3+
on:
4+
# pull_request_target event is required for autolabeler to support all PRs including forks
5+
pull_request_target:
6+
types: [opened, reopened, edited, synchronize]
7+
permissions:
8+
contents: read
9+
jobs:
10+
auto_labeler:
11+
permissions:
12+
contents: read
13+
pull-requests: write
14+
uses: github/ospo-reusable-workflows/.github/workflows/auto-labeler.yaml@3b691dff6b68489c8548e1295d125c93c9c29a4e
15+
with:
16+
config-name: release-drafter.yml
17+
secrets:
18+
github-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
name: CI
3+
4+
on:
5+
push:
6+
branches:
7+
- main
8+
pull_request:
9+
branches:
10+
- main
11+
12+
permissions:
13+
contents: read
14+
15+
jobs:
16+
validate:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v6
20+
with:
21+
persist-credentials: false
22+
23+
- name: Validate Action
24+
uses: ./
25+
with:
26+
owner: ${{ github.repository_owner }}
27+
repo: ${{ github.event.repository.name }}
28+
token: ${{ secrets.GITHUB_TOKEN }}
29+
catalog: "osps-baseline"

.github/workflows/pr-title.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
## Reference: https://github.com/amannn/action-semantic-pull-request
2+
---
3+
name: "Lint PR Title"
4+
on:
5+
# pull_request_target event is required for autolabeler to support all PRs including forks
6+
pull_request_target:
7+
types: [opened, reopened, edited, synchronize]
8+
jobs:
9+
lint_pr_title:
10+
permissions:
11+
contents: read
12+
pull-requests: read
13+
statuses: write
14+
uses: github/ospo-reusable-workflows/.github/workflows/pr-title.yaml@3b691dff6b68489c8548e1295d125c93c9c29a4e
15+
secrets:
16+
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)