fetch last two commits for comparison
This commit is contained in:
@@ -14,6 +14,8 @@ runs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 2
|
||||||
|
|
||||||
- name: Get pkgbase versions
|
- name: Get pkgbase versions
|
||||||
shell: bash
|
shell: bash
|
||||||
@@ -21,6 +23,8 @@ runs:
|
|||||||
git reset --hard HEAD~1 && \
|
git reset --hard HEAD~1 && \
|
||||||
cp .artixlinux/pkgbase.yaml ./pkgbase.previous.yaml && \
|
cp .artixlinux/pkgbase.yaml ./pkgbase.previous.yaml && \
|
||||||
git pull && \
|
git pull && \
|
||||||
|
git config --global user.name 'Guy Incognito' && \
|
||||||
|
git config --global user.email 'user@local' && \
|
||||||
git add ./pkgbase.previous.yaml && \
|
git add ./pkgbase.previous.yaml && \
|
||||||
git commit -m "add previous pkgbase"
|
git commit -m "add previous pkgbase"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user