Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/auto-pr-from-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

steps:
- name: 📥 Checkout Repository
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0

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.

🔍 Two different referencing styles for the same action across workflows

After this PR, auto-pr-from-main.yml and code-quality.yml reference actions/checkout by commit SHA (@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0), while all other workflow files use the tag @v7.0.0. If the SHA does not correspond to the v7.0.0 tag, different workflows would silently use different checkout versions. This inconsistency was already present before the PR (some files used SHA 34e114876b..., others used @v7), so it's pre-existing. Consider standardizing on one style across all workflows for maintainability.

Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:

steps:
- name: 📥 Checkout Repository
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ci-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

steps:
- name: Checkout Code
uses: actions/checkout@v7
uses: actions/checkout@v7.0.0

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.

📝 Info: Pinning to v7.0.0 instead of v7 disables automatic patch updates

Several workflow files previously used actions/checkout@v7 (a major-version tag that floats to the latest v7.x.x release, automatically picking up patch and minor fixes). This PR pins them to actions/checkout@v7.0.0, which locks the version and means future patch releases (e.g., v7.0.1 with a bug fix) will not be picked up automatically. This is a trade-off: better reproducibility but no automatic security/bug-fix patches. The files using SHA pinning (auto-pr-from-main.yml, code-quality.yml) already had this trade-off before the PR.

Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

with:
fetch-depth: 0

Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:

steps:
- name: Checkout Code
uses: actions/checkout@v7
uses: actions/checkout@v7.0.0
with:
fetch-depth: 0

Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:

steps:
- name: 📥 Checkout Code
uses: actions/checkout@v7
uses: actions/checkout@v7.0.0

- name: 🔍 Security Scan (QRCoder.Core)
run: |
Expand All @@ -175,7 +175,7 @@ jobs:

steps:
- name: 📥 Checkout Code
uses: actions/checkout@v7
uses: actions/checkout@v7.0.0

- name: 🗄️ Setup .NET
uses: actions/setup-dotnet@v5
Expand All @@ -202,7 +202,7 @@ jobs:

steps:
- name: 📥 Checkout Code
uses: actions/checkout@v7
uses: actions/checkout@v7.0.0

- name: 🗄️ Setup .NET
uses: actions/setup-dotnet@v5
Expand Down Expand Up @@ -277,7 +277,7 @@ jobs:

steps:
- name: 📥 Checkout Code
uses: actions/checkout@v7
uses: actions/checkout@v7.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

steps:
- name: 📥 Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
with:
ref: ${{ github.event.pull_request.head.sha }}

Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:

steps:
- name: 📥 Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
with:
fetch-depth: 0

Expand Down Expand Up @@ -131,7 +131,7 @@ jobs:

steps:
- name: 📥 Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0

- name: 🗄️ Setup .NET
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9
Expand Down Expand Up @@ -212,7 +212,7 @@ jobs:

steps:
- name: 📥 Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0

- name: 🗄️ Setup .NET
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/opencode-auto-fix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
OMNIROUTE_BASE_URL: https://omniroute.afonsoft.dev/v1
steps:
- name: Checkout repository
uses: actions/checkout@v6
uses: actions/checkout@v7.0.0
with:
fetch-depth: 1
persist-credentials: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/opencode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
OMNIROUTE_BASE_URL: https://omniroute.afonsoft.dev/v1
steps:
- name: Checkout repository
uses: actions/checkout@v6
uses: actions/checkout@v7.0.0
with:
fetch-depth: 1
persist-credentials: false
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

steps:
- name: � Checkout
uses: actions/checkout@v7
uses: actions/checkout@v7.0.0
with:
fetch-depth: 0

Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:

steps:
- name: 📥 Checkout
uses: actions/checkout@v7
uses: actions/checkout@v7.0.0

- name: ️ Setup .NET
uses: actions/setup-dotnet@v5
Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:

steps:
- name: 📥 Checkout
uses: actions/checkout@v7
uses: actions/checkout@v7.0.0
with:
fetch-depth: 0

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/security-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

steps:
- name: 📥 Checkout
uses: actions/checkout@v7
uses: actions/checkout@v7.0.0

- name: 🔍 Initialize CodeQL
uses: github/codeql-action/init@v4
Expand All @@ -49,7 +49,7 @@ jobs:

steps:
- name: 📥 Checkout
uses: actions/checkout@v7
uses: actions/checkout@v7.0.0

- name: 🗄️ Setup .NET
uses: actions/setup-dotnet@v5
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:

steps:
- name: 📥 Checkout
uses: actions/checkout@v7
uses: actions/checkout@v7.0.0
with:
fetch-depth: 0

Expand Down
Loading