Skip to content

Commit e57c518

Browse files
authored
apparently, we can live without this check (FabricMC#457)
* apparently, we can live without this check * no need
1 parent 3473dfd commit e57c518

2 files changed

Lines changed: 1 addition & 12 deletions

File tree

.github/workflows/l10n-pull.yaml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,6 @@ jobs:
4343
push_translations: false
4444
- run: sudo chown -R "${USER}:${USER}" .
4545
- run: git fetch --depth=1 origin "l10n/${{ github.ref_name }}" || true
46-
- id: check-patch
47-
run: |
48-
# this check is to avoid force-pushing a new commit if the only
49-
# difference between it and the situation at 'origin' is a rebase
50-
mkdir .github/temp
51-
git show --pretty=format: "origin/l10n/${{ github.ref_name }}" >>.github/temp/remote.diff || true
52-
git diff >>.github/temp/local.diff
53-
git diff --quiet --no-index .github/temp/remote.diff .github/temp/local.diff
54-
echo needs_push="$?" >>"${GITHUB_OUTPUT}"
5546
- id: message
5647
run: |
5748
prefix="l10n: $(date +"%y")w$(date +"%W")"
@@ -71,8 +62,7 @@ jobs:
7162
fi
7263
7364
echo message="${prefix}${suffix}" >>"${GITHUB_OUTPUT}"
74-
- if: steps.check-patch.outputs.needs_push
75-
uses: peter-evans/create-pull-request@98357b18bf14b5342f975ff684046ec3b2a07725
65+
- uses: peter-evans/create-pull-request@98357b18bf14b5342f975ff684046ec3b2a07725
7666
with:
7767
title: ${{ steps.message.outputs.message }}
7868
body: ""

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
/.vitepress/dist
66
.idea/
77
.obsidian/
8-
.github/temp/
98

109
# Files
1110
.DS_Store

0 commit comments

Comments
 (0)