We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4933ff5 commit d89d47aCopy full SHA for d89d47a
.github/workflows/stargazers.yml
@@ -22,12 +22,12 @@ jobs:
22
23
- name: Fetch base branch
24
run: |
25
- git fetch origin ${{ github.base_ref }} --depth=1
+ git fetch origin main --depth=1
26
27
- name: Extract newly added URLs and GitHub repo links
28
29
# Show diff between base branch and PR HEAD, only for README
30
- git diff --unified=0 origin/${{ github.base_ref }}...HEAD -- README.md > diff.txt
+ git diff --unified=0 origin/main...HEAD -- README.md > diff.txt
31
32
# Extract ALL added https:// URLs from added (+) lines
33
sed -n 's/^+.*\(https:\/\/[^ )]*\).*/\1/p' diff.txt \
0 commit comments