fetch only latest commit from main branch
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3m43s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3m43s
This commit is contained in:
@@ -31,6 +31,8 @@ jobs:
|
|||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
clean: false
|
clean: false
|
||||||
|
fetch-depth: 1
|
||||||
|
ref: 'main'
|
||||||
|
|
||||||
# - name: Manually check out repository code
|
# - name: Manually check out repository code
|
||||||
# run: cd ${{ gitea.workspace }} ; git pull origin main
|
# run: cd ${{ gitea.workspace }} ; git pull origin main
|
||||||
|
|||||||
Reference in New Issue
Block a user