8000 chore(deps): bump the github-actions group with 5 updates by dependabot[bot] · Pull Request #112 · geolonia/.github · GitHub
[go: up one dir, main page]

Skip to content
Closed
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
2 changes: 1 addition & 1 deletion .github/workflows/release-auto-on-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
contents: write # create the GitHub release and push/move tags
# Float on @v1 (this is a normal, non-required workflow) so we pick up the
# lightweight-tag peel fix and future release-workflow changes automatically.
uses: geolonia/.github/.github/workflows/reusable-release-auto-on-tag.yml@v1
uses: geolonia/.github/.github/workflows/reusable-release-auto-on-tag.yml@v1.36.0

Check failure on line 14 in .github/workflows/release-auto-on-tag.yml

View workflow job for this annotation

GitHub Actions / suite / action-pinning / pinact (verify pins)

pinact error

uses: geolonia/.github/.github/workflows/reusable-release-auto-on-tag.yml@82fb51be9f5a20f4e75762bb0cabcfab9ff20a21 # v1.36.0
Comment on lines 12 to +14
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Make the version-management comments match the pinned behavior.

Both comments claim that the nested workflow floats on @v1 and receives future updates automatically. The new references require explicit version bumps.

  • .github/workflows/release-auto-on-tag.yml#L12-L14: document explicit updates to the pinned release.
  • .github/workflows/security-suite.yml#L43-L52: document explicit updates to the pinned nested workflow while retaining the outer required-workflow v1 explanation.
🧰 Tools
🪛 GitHub Check: suite / action-pinning / pinact (verify pins)

[failure] 14-14: pinact error
uses: 82fb51b # v1.36.0

📍 Affects 2 files
  • .github/workflows/release-auto-on-tag.yml#L12-L14 (this comment)
  • .github/workflows/security-suite.yml#L43-L52
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/release-auto-on-tag.yml around lines 12 - 14, The comments
at .github/workflows/release-auto-on-tag.yml lines 12-14 and
.github/workflows/security-suite.yml lines 43-52 incorrectly describe pinned
nested workflows as floating on `@v1`. Update the release workflow comment to
state that its pinned version requires explicit updates, and update the
security-suite comment similarly for the nested workflow while retaining the
explanation that the outer required workflow uses `@v1`.

# Pass only the secrets the reusable declares, not `inherit`.
secrets:
WORKFLOWS_CLIENT_ID: ${{ secrets.WORKFLOWS_CLIENT_ID }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/reusable-security-suite.yml
10000
Original file line number Diff line number Diff line change
Expand Up @@ -56,22 +56,22 @@
contents: read
pull-requests: write
issues: write
uses: geolonia/.github/.github/workflows/reusable-bumblebee-scan.yml@v1
uses: geolonia/.github/.github/workflows/reusable-bumblebee-scan.yml@v1.36.0

Check failure on line 59 in .github/workflows/reusable-security-suite.yml

View workflow job for this annotation

GitHub Actions / suite / action-pinning / pinact (verify pins)

pinact error

uses: geolonia/.github/.github/workflows/reusable-bumblebee-scan.yml@82fb51be9f5a20f4e75762bb0cabcfab9ff20a21 # v1.36.0
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔒 Security & Privacy | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -u

printf '%s\n' '--- workflow references ---'
for f in .github/workflows/reusable-security-suite.yml \
         .github/workflows/release-auto-on-tag.yml \
         .github/workflows/security-suite.yml; do
  echo "[$f]"
  rg -n -C 1 'geolonia/\.github/.+@v1\.36\.0' "$f" || true
done

printf '%s\n' '--- tag resolution ---'
if command -v gh >/dev/null 2>&1; then
  ref_json="$(gh api repos/geolonia/.github/git/ref/tags/v1.36.0)"
  printf '%s\n' "$ref_json" | jq '{object_type:.object.type, object_sha:.object.sha}'
  type="$(printf '%s\n' "$ref_json" | jq -r '.object.type')"
  sha="$(printf '%s\n' "$ref_json" | jq -r '.object.sha')"
  if [ "$type" = tag ]; then
    commit_sha="$(gh api "repos/geolonia/.github/git/tags/$sha" --jq '.object.sha')"
  else
    commit_sha="$sha"
  fi
  printf 'resolved_commit=%s\n' "$commit_sha"
  gh api "repos/geolonia/.github/commits/$commit_sha" --jq '{sha:.sha, message:.commit.message}'
else
  echo 'gh is unavailable'
fi

Repository: geolonia/.github

Length of output: 2226


Pin all five v1.36.0 reusable workflows to commit 82fb51be9f5a20f4e75762bb0cabcfab9ff20a21. Keep the # v1.36.0 version comment at each reference.

🧰 Tools
🪛 GitHub Check: suite / action-pinning / pinact (verify pins)

[failure] 59-59: pinact error
uses: 82fb51b # v1.36.0

📍 Affects 3 files
  • .github/workflows/reusable-security-suite.yml#L59-L59 (this comment)
  • .github/workflows/reusable-security-suite.yml#L67-L67
  • .github/workflows/reusable-security-suite.yml#L74-L74
  • .github/workflows/release-auto-on-tag.yml#L14-L14
  • .github/workflows/security-suite.yml#L52-L52
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/reusable-security-suite.yml at line 59, Pin all five
v1.36.0 reusable workflow references to commit
82fb51be9f5a20f4e75762bb0cabcfab9ff20a21, preserving the # v1.36.0 comment:
update .github/workflows/reusable-security-suite.yml lines 59-59, 67-67, and
74-74; .github/workflows/release-auto-on-tag.yml line 14; and
.github/workflows/security-suite.yml line 52.

Source: Linters/SAST tools

with:
report-mode: summary

secret-leak:
permissions:
contents: read
pull-requests: write
uses: geolonia/.github/.github/workflows/reusable-secret-leak-check.yml@v1
uses: geolonia/.github/.github/workflows/reusable-secret-leak-check.yml@v1.36.0

Check failure on line 67 in .github/workflows/reusable-security-suite.yml

View workflow job for this annotation

GitHub Actions / suite / action-pinning / pinact (verify pins)

pinact error

uses: geolonia/.github/.github/workflows/reusable-secret-leak-check.yml@82fb51be9f5a20f4e75762bb0cabcfab9ff20a21 # v1.36.0
with:
report-mode: summary

action-pinning:
permissions:
contents: read
uses: geolonia/.github/.github/workflows/reusable-pinact-check.yml@v1
uses: geolonia/.github/.github/workflows/reusable-pinact-check.yml@v1.36.0

Check failure on line 74 in .github/workflows/reusable-security-suite.yml

View workflow job for this annotation

GitHub Actions / suite / action-pinning / pinact (verify pins)

pinact error

uses: geolonia/.github/.github/workflows/reusable-pinact-check.yml@82fb51be9f5a20f4e75762bb0cabcfab9ff20a21 # v1.36.0
with:
# Warn-only in the suite: an unpinned or comment-mismatched action
# reports a warning row instead of blocking the PR. (pinact also
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/security-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@
# check hang silently at "Expected" on every consumer PR. See
# docs/workflows/security-suite.md. (org .pinact.yml + zizmor.yml exempt
# geolonia/* reusables at a major tag from pinning.)
uses: geolonia/.github/.github/workflows/reusable-security-suite.yml@v1
uses: geolonia/.github/.github/workflows/reusable-security-suite.yml@v1.36.0

Check failure on line 52 in .github/workflows/security-suite.yml

View workflow job for this annotation

GitHub Actions / suite / action-pinning / pinact (verify pins)

pinact error

uses: geolonia/.github/.github/workflows/reusable-security-suite.yml@82fb51be9f5a20f4e75762bb0cabcfab9ff20a21 # v1.36.0
Loading
0