Skip to content

chore: test diff action#144

Closed
DerekRoberts wants to merge 1 commit intomainfrom
chore/testAction
Closed

chore: test diff action#144
DerekRoberts wants to merge 1 commit intomainfrom
chore/testAction

Conversation

@DerekRoberts
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings February 20, 2026 02:00
@DerekRoberts DerekRoberts changed the title Test diff action chore: test diff action Feb 20, 2026
Copy link

Copilot AI left a comment

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 tests changes to the action-diff-triggers dependency by updating to an unreleased feature branch and modifying the input parameter name from diff_branch to ref. The changes appear to be for testing visibility improvements in the diff triggers action.

Changes:

  • Updated bcgov/action-diff-triggers reference from a pinned SHA (v1.0.0) to a mutable feature branch (feat/visibility-improvements)
  • Renamed the input parameter from diff_branch to ref when calling the action-diff-triggers action

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

# Send triggers to diff action
- id: triggers
uses: bcgov/action-diff-triggers@a4753d53614cac4eb417cd35b05e0e401a76fc9d # v1.0.0
uses: bcgov/action-diff-triggers@feat/visibility-improvements
Copy link

Copilot AI Feb 20, 2026

Choose a reason for hiding this comment

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

The action reference has been changed from a pinned commit SHA with a version tag comment to a feature branch reference. This is problematic for several reasons:

  1. Feature branches are mutable and can change at any time, making builds non-reproducible
  2. The previous version used a commit SHA (a4753d53614cac4eb417cd35b05e0e401a76fc9d) with a version comment (v1.0.0), which follows security best practices for GitHub Actions
  3. This change removes the security benefits of SHA pinning and introduces unpredictability

For testing purposes, a feature branch reference might be acceptable temporarily, but this should not be merged to a production branch without reverting to a pinned SHA or version tag once the feature branch is merged and released.

Suggested change
uses: bcgov/action-diff-triggers@feat/visibility-improvements
uses: bcgov/action-diff-triggers@a4753d53614cac4eb417cd35b05e0e401a76fc9d # v1.0.0

Copilot uses AI. Check for mistakes.
@DerekRoberts DerekRoberts self-assigned this Feb 20, 2026
@DerekRoberts DerekRoberts moved this from New to Active in DevOps (NR) Feb 20, 2026
@github-project-automation github-project-automation bot moved this from Active to Done in DevOps (NR) Feb 20, 2026
@DerekRoberts DerekRoberts deleted the chore/testAction branch February 20, 2026 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants