Skip to content

Commit dda2eb3

Browse files
🐛 Fix checkout fetch for tags (#189)
Co-authored-by: ChristophShyper <45788587+ChristophShyper@users.noreply.github.com>
1 parent a20d6c4 commit dda2eb3

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

.github/workflows/pull-request.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Pull Request
33
on:
44
push:
55
branches-ignore:
6-
- master
6+
- 'master'
77
- 'dependabot**'
88

99
jobs:
@@ -26,6 +26,8 @@ jobs:
2626
steps:
2727
- name: Checkout
2828
uses: actions/checkout@v5
29+
with:
30+
fetch-depth: 0
2931

3032
- name: Extract branch name
3133
id: branch

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
run: make push
115115

116116
- name: Create GitHub Release
117-
uses: softprops/action-gh-release@v2.3.3
117+
uses: softprops/action-gh-release@v2
118118
with:
119119
tag_name: ${{ github.event.inputs.version }}
120120
name: ${{ github.event.inputs.version }}

.github/workflows/weekly-dependency-check.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212
steps:
1313
- name: Checkout
1414
uses: actions/checkout@v5
15+
with:
16+
fetch-depth: 0
1517

1618
- name: Get latest release tag
1719
id: latest-tag

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ jobs:
154154
uses: actions/checkout@v4
155155
with:
156156
fetch-depth: 0
157+
157158
- name: Run the Action
158159
if: startsWith(github.ref, 'refs/heads/feature')
159160
uses: devops-infra/action-pull-request@v0.6

0 commit comments

Comments
 (0)