Skip to content

Unpushed commits (local main ahead of origin/main) - #21

Merged
StanBarrows merged 5 commits into
mainfrom
feature-dependency-bump
Mar 20, 2026
Merged

Unpushed commits (local main ahead of origin/main)#21
StanBarrows merged 5 commits into
mainfrom
feature-dependency-bump

Conversation

@StanBarrows

Copy link
Copy Markdown
Contributor

Local main was 3 commit(s) ahead of origin/main. Opened from update-opensource-active.sh for review.

Copilot AI review requested due to automatic review settings March 20, 2026 07:31

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds/updates repository maintenance metadata (security/contribution docs, Dependabot configuration, and GitHub Actions versions/permissions) to align the repo with common open-source automation patterns.

Changes:

  • Add root-level SECURITY.md and CONTRIBUTING.md.
  • Update GitHub Actions workflows for code style fixing, dependency review, and Dependabot auto-merge.
  • Expand Dependabot configuration (more ecosystems, daily cadence, grouping, and major-update ignore rules).

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
SECURITY.md Adds a security policy document at repo root.
CONTRIBUTING.md Adds contribution guidelines at repo root.
.github/workflows/fix-php-code-style-issues.yml Updates action versions and sets contents: write permission for auto-commit.
.github/workflows/dependency-review.yml Updates checkout action version used in dependency review workflow.
.github/workflows/dependabot-auto-merge.yml Bumps Dependabot metadata action version.
.github/dependabot.yml Moves to daily updates, adds grouping/ignore rules, and adds npm/composer ecosystems.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread SECURITY.md Outdated
@@ -0,0 +1,3 @@
# Security Policy

If you discover any security related issues, please email info@codebar.ch instead of using the issue tracker.

Copilot AI Mar 20, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file duplicates the existing .github/SECURITY.md (same content). Having both copies increases the chance they diverge; consider keeping only one canonical SECURITY policy file (either root or .github/) and removing the other.

Suggested change
If you discover any security related issues, please email info@codebar.ch instead of using the issue tracker.
The canonical, up-to-date security policy for this project is maintained in [`.github/SECURITY.md`](.github/SECURITY.md).
If you discover any security related issues, please follow the instructions in that file.

Copilot uses AI. Check for mistakes.
Comment thread CONTRIBUTING.md Outdated
Comment on lines +1 to +5
# Contributing

Contributions are **welcome** and will be fully **credited**.

Please read and understand the contribution guide before creating an issue or pull request.

Copilot AI Mar 20, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file duplicates the existing .github/CONTRIBUTING.md (same content). Keeping two copies makes it easy for contribution guidance to get out of sync; consider removing one and relying on a single canonical location.

Copilot uses AI. Check for mistakes.
Comment thread CONTRIBUTING.md Outdated
Comment on lines +39 to +45
## Requirements

If the project maintainer has any additional requirements, you will find them listed here.

- **[PSR-2 Coding Standard](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md)** - The easiest way to apply the conventions is to install [PHP Code Sniffer](https://pear.php.net/package/PHP_CodeSniffer).

- **Add tests!** - Your patch won't be accepted if it doesn't have tests.

Copilot AI Mar 20, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The requirements section references PSR-2 and suggests PHP CodeSniffer, but this repo’s tooling uses Laravel Pint (see composer.json script format: vendor/bin/pint). To avoid misleading contributors, update this guidance to match the actual formatter/linter used in the project (and/or the coding standard Pint enforces).

Copilot uses AI. Check for mistakes.
Comment thread .github/dependabot.yml
Comment on lines +14 to +26
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
allow:
- dependency-type: "direct"
ignore:
- dependency-name: "*"
update-types: [ "version-update:semver-major" ]
groups:
minor-and-patch:
update-types: [ "minor", "patch" ]

Copilot AI Mar 20, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This adds an npm Dependabot update config for /, but the repository does not contain an npm manifest (no package.json in the root). This will cause Dependabot to report a configuration/dependency-file error; remove the npm entry or point it at the directory that actually contains the npm project.

Suggested change
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
allow:
- dependency-type: "direct"
ignore:
- dependency-name: "*"
update-types: [ "version-update:semver-major" ]
groups:
minor-and-patch:
update-types: [ "minor", "patch" ]

Copilot uses AI. Check for mistakes.
@StanBarrows
StanBarrows merged commit 0e60b6b into main Mar 20, 2026
10 checks passed
@StanBarrows
StanBarrows deleted the feature-dependency-bump branch March 20, 2026 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants