Template update requires manual application (580a975c292d5a1d0ec66872ae0c81fa6a6a3638)
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 88/100
- Issue type
- Refactor
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- github-actions
- Domain
- ci-cd
Research direction
Inspect .github/workflows/autobackport.yml and compare it with commit 580a975c292d5a1d0ec66872ae0c81fa6a6a3638. Apply the shown semantically equivalent workflow update, then verify the resulting YAML and diff match the template changes.
Written by the indexing model from the issue text.
Description
Template workflows have been updated but the diff could not be automatically applied to this repository. Apply a change that is semantically equivalent to the patch here.
Commit
Update autobackport.yml
See: https://github.com/plengauer/plengauer.github.io/commit/580a975c292d5a1d0ec66872ae0c81fa6a6a3638
Diff
diff --git a/.github/workflows/autobackport.yml b/.github/workflows/autobackport.yml
index 3e5b91d..f9c2f23 100644
--- a/.github/workflows/autobackport.yml
+++ b/.github/workflows/autobackport.yml
@@ -29,6 +29,7 @@ jobs:
echo "$ref"
echo "has_refs=true" >> "$GITHUB_OUTPUT"
done | while read -r ref; do echo \""$ref"\"; done | jq -s | tr -d '\n' | tr -d ' ' | xargs -0 -I {} echo 'refs={}' >> "$GITHUB_OUTPUT"
+
backport:
if: ${{ !github.event.repository.fork && needs.setup.outputs.has_tags && needs.setup.outputs.has_refs }}
needs: setup
@@ -55,7 +56,6 @@ jobs:
run: |
if git diff --quiet; then echo "should_backport=false"; else echo "should_backport=true"; fi >> "$GITHUB_OUTPUT"
git checkout .
-
- id: prepare_branch
if: steps.check_patch.outputs.should_backport == 'true'
run: |
@@ -72,7 +72,7 @@ jobs:
v*.*.*) current_tag="${current_tag%.*}";;
v*.*) ;;
v*) exit 2;;
- *) exit 3;;
+ *) exit 3;;
esac
branch_name="release/$current_tag"
echo name="$branch_name" >> "$GITHUB_OUTPUT"
@@ -83,14 +83,12 @@ jobs:
git checkout -b "$branch_name" "$current_tag".0
git push -u origin "$branch_name"
fi
-
- if: steps.check_patch.outputs.should_backport == 'true'
run: |
set -e
git format-patch -1 "${{ matrix.ref }}" --stdout > /tmp/commit.patch
[ -s /tmp/commit.patch ] || exit 0
git apply /tmp/commit.patch || git cherry-pick -n "${{ matrix.ref }}"
-
- id: prepare_pr
if: steps.check_patch.outputs.should_backport == 'true'
env:
@@ -100,7 +98,6 @@ jobs:
echo commit_title="$(git log -1 --pretty=%s "${{ matrix.ref }}")" >> "$GITHUB_OUTPUT"
echo author_name="$(git log -1 --pretty=%an "${{ matrix.ref }}" 2>/dev/null || echo "")" >> "$GITHUB_OUTPUT"
echo author_email="$(git log -1 --pretty=%ae "${{ matrix.ref }}" 2>/dev/null || echo "")" >> "$GITHUB_OUTPUT"
-
- id: open-pr
if: steps.check_patch.outputs.should_backport == 'true'
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
- Dominant language
- No language data
- Stars
- 0
- Forks
- 0
- Avg merge
- 18m
- Merged PRs (30d)
- 14
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from plengauer/debugging_2025_08_15
-
Dependency Dashboard Open
Difficulty 5/5 Over a week Newbie friendliness 15/100
All issues in plengauer/debugging_2025_08_15
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sympozium-ai/sympozium#627 ·
-
repo:raw-data
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
hotosm/raw-data-api#316 · 1 comment ·
-
agentic-workflows cascade-suspected
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
willow
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
openedx/openedx-authz#460 ·