Skip to content
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-rebase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
permissions:
contents: write # update-branch via GITHUB_TOKEN (may touch .github/workflows/)
pull-requests: write # re-approve PRs after branch update
uses: petry-projects/.github/.github/workflows/dependabot-rebase-reusable.yml@v1
uses: petry-projects/.github/.github/workflows/dependabot-rebase-reusable.yml@ee22b427cbce9ecadcf2b436acb57c3adf0cb63d # v1

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

PINNED_SHA="ee22b427cbce9ecadcf2b436acb57c3adf0cb63d"
CURRENT_V1_SHA="$(gh api repos/petry-projects/.github/git/ref/tags/v1 --jq '.object.sha')"

echo "Pinned SHA:     ${PINNED_SHA}"
echo "Current v1 SHA: ${CURRENT_V1_SHA}"

if [[ "${PINNED_SHA}" != "${CURRENT_V1_SHA}" ]]; then
  echo "Mismatch: update .github/workflows/dependabot-rebase.yml to @${CURRENT_V1_SHA}"
  exit 1
fi

echo "Pinned SHA matches current v1."

Repository: petry-projects/TalkTerm

Length of output: 283


Update Line 44 to pin the current v1 commit.

The pinned SHA ee22b427cbce9ecadcf2b436acb57c3adf0cb63d is stale. The current v1 tag points to d3d768dabb7f28cc63283cdfe48630da53700e50. Update the uses line to uses: petry-projects/.github/.github/workflows/dependabot-rebase-reusable.yml@d3d768dabb7f28cc63283cdfe48630da53700e50 # v1.

🤖 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/dependabot-rebase.yml at line 44, Update the pinned commit
SHA on the uses line so the reusable workflow references the current v1 commit:
replace the old SHA ee22b427cbce9ecadcf2b436acb57c3adf0cb63d with the new SHA
d3d768dabb7f28cc63283cdfe48630da53700e50 in the uses declaration (the line
starting with "uses:
petry-projects/.github/.github/workflows/dependabot-rebase-reusable.yml@... #
v1") so it reads uses:
petry-projects/.github/.github/workflows/dependabot-rebase-reusable.yml@d3d768dabb7f28cc63283cdfe48630da53700e50
# v1.

secrets:
APP_ID: ${{ secrets.APP_ID }}
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}
Comment on lines +45 to +47

Copilot AI Apr 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 header comment still says "Required org/repo secrets (inherited)", but this workflow now passes secrets explicitly via the secrets: mapping. Please update that wording so it matches the actual configuration (e.g., remove "inherited" or note they are passed explicitly).

Copilot uses AI. Check for mistakes.