[PR #118] [MERGED] ci: fix fork PR README diff base #1892

Closed
opened 2026-07-11 15:11:46 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/vavkamil/awesome-bugbounty-tools/pull/118
Author: @vavkamil
Created: 7/7/2026
Status: Merged
Merged: 7/7/2026
Merged by: @vavkamil

Base: mainHead: vavkamil/fix-ci


📝 Commits (1)

  • 2aef7c1 ci: fix fork PR README diff base

📊 Changes

1 file changed (+2 additions, -6 deletions)

View changed files

📝 .github/workflows/stargazers.yml (+2 -6)

📄 Description

Description

Fixes the Stargazers workflow so fork pull requests do not fail README link detection when the fork branch is behind main.

  • remove the shallow origin main refetch that could leave the runner without a merge base
  • diff the checked-out pull request merge commit against its first parent, which is the base side of the merge

Notes

This keeps the workflow on the pull_request trigger with read-only permissions and persist-credentials: false.

Checklist

  • Only GitHub links to open-source repos are added
  • No duplicate links are added
  • All repos exist and are public
  • All repos have at least 50 stars

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/vavkamil/awesome-bugbounty-tools/pull/118 **Author:** [@vavkamil](https://github.com/vavkamil) **Created:** 7/7/2026 **Status:** ✅ Merged **Merged:** 7/7/2026 **Merged by:** [@vavkamil](https://github.com/vavkamil) **Base:** `main` ← **Head:** `vavkamil/fix-ci` --- ### 📝 Commits (1) - [`2aef7c1`](https://github.com/vavkamil/awesome-bugbounty-tools/commit/2aef7c1764918cb3f4822230c32f498065316e33) ci: fix fork PR README diff base ### 📊 Changes **1 file changed** (+2 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/stargazers.yml` (+2 -6) </details> ### 📄 Description # Description Fixes the Stargazers workflow so fork pull requests do not fail README link detection when the fork branch is behind `main`. - remove the shallow `origin main` refetch that could leave the runner without a merge base - diff the checked-out pull request merge commit against its first parent, which is the base side of the merge ## Notes This keeps the workflow on the `pull_request` trigger with read-only permissions and `persist-credentials: false`. ## Checklist - [ ] Only GitHub links to open-source repos are added - [ ] No duplicate links are added - [ ] All repos exist and are public - [ ] All repos have at least 50 stars --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-07-11 15:11:46 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-bugbounty-tools#1892