Skip to content

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

Merged
StanBarrows merged 7 commits into
mainfrom
feature-dependency-bump
Mar 21, 2026
Merged

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

Conversation

@StanBarrows

Copy link
Copy Markdown
Contributor

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

Copilot AI review requested due to automatic review settings March 21, 2026 07:18

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

This PR updates GitHub Actions workflows (likely via an automation script) to pin action versions more tightly, add timeouts, and refine when workflows run.

Changes:

  • Pin/upgrade action versions across workflows (e.g., checkout, dependency-review, tagging, auto-commit, composer install, setup-php).
  • Add job timeouts (release/phpstan) and introduce concurrency + path filters for the PHPStan workflow.
  • Remove the Nova license/auth step from the PHPStan workflow.

Reviewed changes

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

File Description
.github/workflows/release.yml Adds a timeout and pins checkout + tag action versions for the release job.
.github/workflows/phpstan.yml Narrows triggers via path filters, adds concurrency + timeout, pins actions, and removes Nova auth step.
.github/workflows/fix-php-code-style-issues.yml Bumps the git auto-commit action version used for Pint fixes.
.github/workflows/dependency-review.yml Pins checkout and dependency-review action versions.

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

Comment on lines 18 to 22
- name: Bump version and push tag
uses: anothrNick/github-tag-action@master
uses: anothrNick/github-tag-action@1.75.0
env:
GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }}
WITH_V: true

Copilot AI Mar 21, 2026

Copy link

Choose a reason for hiding this comment

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

The workflow runs on pull_request closed, which also triggers when a PR is closed without being merged. That can create release tags for abandoned PRs. Add a guard (e.g., if: github.event.pull_request.merged == true) at the job or tag step level, or change the trigger to a push on main (or tag) so releases only happen after merge.

Copilot uses AI. Check for mistakes.
with:
php-version: '8.4'
coverage: none

Copilot AI Mar 21, 2026

Copy link

Choose a reason for hiding this comment

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

composer.json requires laravel/nova from https://nova.laravel.com (private repo). With the Nova auth step removed, the composer-install step is likely to fail due to missing credentials. Re-add the Nova license/auth configuration (or set COMPOSER_AUTH / composer config http-basic.nova.laravel.com ...) before installing dependencies in this workflow.

Suggested change
- name: Configure Nova auth for Composer
run: composer config http-basic.nova.laravel.com "${{ secrets.NOVA_USERNAME }}" "${{ secrets.NOVA_PASSWORD }}"

Copilot uses AI. Check for mistakes.
Comment on lines 32 to +39
- name: Setup PHP
uses: shivammathur/setup-php@v2
uses: shivammathur/setup-php@2.37.0
with:
php-version: '8.4'
coverage: none

- name: Apply Nova license
run: composer config http-basic.nova.laravel.com ${{ secrets.NOVA_USERNAME }} ${{ secrets.NOVA_LICENSE_KEY }}

- name: Install composer dependencies
uses: ramsey/composer-install@v3
uses: ramsey/composer-install@4.0.0

Copilot AI Mar 21, 2026

Copy link

Choose a reason for hiding this comment

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

The action refs here drop the usual v-prefixed tag format used elsewhere in the repo (e.g. shivammathur/setup-php@v2). If these tags are meant to be version tags, verify they exist and consider switching to the consistent tag naming (@v2.x.y / @v4.x.y) to avoid pointing at an unintended or non-existent ref.

Copilot uses AI. Check for mistakes.
Comment on lines 17 to +18
- name: 'Checkout Repository'
uses: actions/checkout@v6
uses: actions/checkout@v6.0.2

Copilot AI Mar 21, 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 now pinned to v6.0.2 here (and in some other workflows), but .github/workflows/run-tests.yml still uses actions/checkout@v4. Consider standardizing on a single pinned version across workflows to reduce drift and unexpected differences between CI jobs.

Copilot uses AI. Check for mistakes.
@StanBarrows
StanBarrows merged commit a39af26 into main Mar 21, 2026
14 checks passed
@StanBarrows
StanBarrows deleted the feature-dependency-bump branch March 21, 2026 08:05
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