Skip to content

Unpushed commits (local main ahead of origin/main)#208

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

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

Conversation

@StanBarrows

Copy link
Copy Markdown
Contributor

Local main was 12 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:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the repository’s community health/docs and dependency automation configuration, and tweaks a couple of GitHub Actions workflow dependencies.

Changes:

  • Adds root-level SECURITY.md and CONTRIBUTING.md.
  • Updates workflow action versions and permissions for the PHP style-fix workflow.
  • Expands Dependabot configuration (daily cadence, grouping, and additional ecosystems).

Reviewed changes

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

Show a summary per file
File Description
SECURITY.md Adds security policy file at repo root (currently duplicates existing .github/SECURITY.md).
CONTRIBUTING.md Adds contributing guide at repo root (currently duplicates existing .github/CONTRIBUTING.md).
.github/workflows/fix-php-code-style-issues.yml Adds contents: write permission; changes action versions for checkout/auto-commit.
.github/workflows/dependency-review.yml Bumps actions/checkout major version for dependency review workflow.
.github/workflows/dependabot-auto-merge.yml Bumps dependabot/fetch-metadata version.
.github/dependabot.yml Switches 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 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 PHP CodeSniffer, but this repo’s tooling uses Laravel Pint (laravel/pint in composer.json and a Pint workflow). To avoid misleading contributors, update this to reflect the actual formatter/linter (e.g., Pint / PSR-12) or document how PHPCS applies if it’s still required.

Copilot uses AI. Check for mistakes.
uses: actions/checkout@v5
with:
ref: ${{ github.head_ref }}
uses: actions/checkout@v6.0.2

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.

actions/checkout is bumped here to v6.0.2, while the rest of the repo’s workflows still use actions/checkout@v5. Mixing major versions makes maintenance harder; consider updating all workflows to the same major, or keep this at @v5 for consistency.

Suggested change
uses: actions/checkout@v6.0.2
uses: actions/checkout@v5

Copilot uses AI. Check for mistakes.

- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v7
uses: stefanzweifel/git-auto-commit-action@v6.0.1

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 changes stefanzweifel/git-auto-commit-action from @v7 to @v6.0.1 (a major-version downgrade). If the goal is dependency maintenance, consider staying on the latest supported major (or document why a downgrade is required) to avoid missing fixes/features from v7.

Suggested change
uses: stefanzweifel/git-auto-commit-action@v6.0.1
uses: stefanzweifel/git-auto-commit-action@v7

Copilot uses AI. Check for mistakes.
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v5
uses: actions/checkout@v6

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 workflow updates actions/checkout to @v6, but other workflows in this repo still use @v5. Consider standardizing on a single major version across workflows to reduce maintenance overhead and avoid subtle behavioral differences.

Suggested change
uses: actions/checkout@v6
uses: actions/checkout@v5

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 ecosystem config for the repository root (directory: "/"), but the repo doesn’t appear to contain a package.json / npm manifest at the root. This will cause Dependabot runs to error; either remove the npm entry or point it at the directory that actually contains the npm manifest (or add one if intended).

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.
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 duplicates the existing .github/SECURITY.md (same content). Keeping two copies makes it easy for the security contact instructions to diverge; consider removing one location or making one a short pointer to the canonical policy.

Suggested change
If you discover any security related issues, please email info@codebar.ch instead of using the issue tracker.
This repository’s canonical security policy is defined in [`.github/SECURITY.md`](.github/SECURITY.md). Please refer to that file for the most up-to-date information on how to report security issues.

Copilot uses AI. Check for mistakes.
Comment thread CONTRIBUTING.md Outdated
Comment on lines +1 to +6
# 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 appears to be a duplicate of the existing .github/CONTRIBUTING.md. Having two copies of contribution guidelines increases the risk they drift; consider keeping a single canonical file (either root or .github/) and removing the other, or make one link to the other.

Copilot uses AI. Check for mistakes.
@StanBarrows
StanBarrows merged commit 0f121fa into main Mar 20, 2026
5 of 11 checks passed
@StanBarrows
StanBarrows deleted the feature-dependency-bump branch March 20, 2026 07:41
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