GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add organization automation baseline · PastureStack/.github@966304b

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github
    • ISSUE_TEMPLATE
      • bug_report.yml
    • PULL_REQUEST_TEMPLATE.md
    • workflows
      • repository-integrity.yml
  • SECURITY.md
  • docs
    • GITHUB_AUTOMATION.md
  • standards
    • repository.yml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/ISSUE_TEMPLATE/bug_report.yml‎

Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/bug_report.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ body:
1111
attributes:
1212
label: Version or revision
1313
description: Provide the release, tag, image digest, or commit SHA.
14-
placeholder: v1.6.x-pasture.1 or commit SHA
14+
placeholder: 1.6.57 or commit SHA
1515
validations:
1616
required: true
1717
- type: input
Collapse file

‎.github/PULL_REQUEST_TEMPLATE.md‎

Copy file name to clipboardExpand all lines: .github/PULL_REQUEST_TEMPLATE.md
+4-2Lines changed: 4 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
## Compatibility and migration impact
66

7-
<!-- Identify affected Rancher versions, components, APIs, images, data, or deployment paths. -->
7+
<!-- Identify affected upstream versions, components, APIs, images, data, or deployment paths. -->
88

99
## Verification
1010

@@ -16,6 +16,8 @@
1616
- [ ] Imported history and published upstream tags were not rewritten.
1717
- [ ] New third-party code or artifacts have traceable source and compatible licensing.
1818
- [ ] Tests or reproducibility checks cover the changed behavior.
19-
- [ ] Logs, fixtures, and screenshots contain no secrets or private data.
19+
- [ ] Source, documentation, logs, fixtures, and screenshots contain no secrets, personal account details, or private data.
20+
- [ ] New action references follow the organization Actions allowlist and pinning policy.
21+
- [ ] User-facing releases and image tags use ordinary incrementing semantic versions.
2022
- [ ] Security, upgrade, rollback, and release-note impact were considered.
2123
- [ ] Documentation was updated, or no documentation change is needed.
Collapse file

‎.github/workflows/repository-integrity.yml‎

Copy file name to clipboard
+66Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
name: Repository integrity
2+
3+
on:
4+
workflow_call:
5+
pull_request:
6+
push:
7+
branches:
8+
- main
9+
workflow_dispatch:
10+
11+
permissions:
12+
contents: read
13+
14+
concurrency:
15+
group: repository-integrity-${{ github.workflow }}-${{ github.ref }}
16+
cancel-in-progress: true
17+
18+
jobs:
19+
integrity:
20+
name: Repository integrity
21+
runs-on: ubuntu-latest
22+
timeout-minutes: 10
23+
steps:
24+
- name: Check out full history
25+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
26+
with:
27+
fetch-depth: 0
28+
persist-credentials: false
29+
30+
- name: Verify Git object integrity
31+
shell: bash
32+
run: git fsck --full --no-dangling
33+
34+
- name: Verify required repository files
35+
shell: bash
36+
run: |
37+
set -euo pipefail
38+
39+
if [[ ! -f README.md && ! -f README.rst && ! -f README ]]; then
40+
echo "A clone-visible README is required." >&2
41+
exit 1
42+
fi
43+
44+
if [[ ! -f LICENSE && ! -f LICENSE.md && ! -f LICENSE.txt && ! -f COPYING ]]; then
45+
echo "A repository license is required; organization defaults cannot supply one." >&2
46+
exit 1
47+
fi
48+
49+
- name: Reject oversized tracked files
50+
shell: bash
51+
run: |
52+
set -euo pipefail
53+
54+
limit=$((95 * 1024 * 1024))
55+
failed=0
56+
57+
while IFS= read -r -d '' file; do
58+
[[ -f "$file" ]] || continue
59+
size=$(stat -c '%s' -- "$file")
60+
if (( size > limit )); then
61+
printf 'Tracked file exceeds 95 MiB: %s (%s bytes)\n' "$file" "$size" >&2
62+
failed=1
63+
fi
64+
done < <(git ls-files -z)
65+
66+
exit "$failed"
Collapse file

‎SECURITY.md‎

Copy file name to clipboardExpand all lines: SECURITY.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Each repository must publish its own supported-version statement before making a
88

99
- active migration branches receive best-effort security review;
1010
- historical upstream tags are preserved but unsupported; and
11-
- original Rancher 1.6 binaries and images remain end-of-life.
11+
- original upstream binaries and images remain end-of-life.
1212

1313
## Reporting a vulnerability
1414

@@ -20,4 +20,4 @@ Maintainers will acknowledge a complete private report as soon as practical, coo
2020

2121
## Scope
2222

23-
Reports about the PastureStack-maintained changes, build chain, releases, containers, and migration tooling are in scope. Vulnerabilities that affect unmodified upstream Rancher code may also need to be reported to the relevant upstream maintainer.
23+
Reports about the PastureStack-maintained changes, build chain, releases, containers, and migration tooling are in scope. Vulnerabilities that affect unmodified upstream code may also need to be reported to the relevant upstream maintainer.
Collapse file

‎docs/GITHUB_AUTOMATION.md‎

Copy file name to clipboard
+29Lines changed: 29 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# GitHub automation baseline
2+
3+
PastureStack uses GitHub's no-cost features for public repositories to reduce repetitive maintenance while keeping releases and deployments explicit.
4+
5+
## Organization baseline
6+
7+
- GitHub Actions is enabled for every repository.
8+
- Repository workflows may use GitHub-owned actions and reusable workflows from `PastureStack/.github`.
9+
- Workflow tokens are read-only by default. A job must declare any additional permission it needs.
10+
- Artifacts and workflow logs are retained for 30 days.
11+
- Workflows from first-time and external contributors require approval.
12+
- Dependency graph, automatic dependency submission, Dependabot alerts, grouped security updates, secret scanning, push protection, malware alerts, and private vulnerability reporting are enabled where GitHub supports them.
13+
- CodeQL default setup is used where a repository has a supported language. Reviewed advanced CodeQL workflows remain authoritative where present.
14+
15+
## Continuous integration
16+
17+
Repositories without a component-specific workflow call the reusable repository-integrity workflow in this repository. The shared workflow verifies Git objects, required clone-visible files, and GitHub's practical file-size limit. Component-specific build and test workflows remain in their own repositories because toolchains and compatibility requirements differ.
18+
19+
Centralizing the baseline means a maintenance fix is made once instead of being copied into every repository.
20+
21+
## Delivery and releases
22+
23+
CI does not deploy to a production control plane. Release workflows may publish versioned GitHub Releases or GHCR images only after repository-specific build, test, license, provenance, rollback, and compatibility checks are defined.
24+
25+
Published image tags and release versions use normal incrementing semantic versions. Digests and attestations remain machine-verifiable metadata and are not embedded in user-facing version strings.
26+
27+
## Cost guardrails
28+
29+
PastureStack uses standard GitHub-hosted runners for public repositories. Larger runners, GitHub Code Quality billing, paid private-repository security features, and automatic production deployment are outside this baseline.
Collapse file

‎standards/repository.yml‎

Copy file name to clipboardExpand all lines: standards/repository.yml
+6-1Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,12 @@ security:
2727

2828
actions:
2929
artifact_retention_days: 30
30-
new_actions_pin: full-commit-sha
30+
repository_policy: selected
31+
github_owned_actions: true
32+
verified_creator_actions: false
33+
organization_reusable_workflows: PastureStack/.github@*
34+
require_sha_pinning: false
35+
new_external_actions_pin: full-commit-sha
3136
imported_workflows_initial_state: review-before-enable
3237

3338
public_default_branch_rules:

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.