plengauer / plengauer/DXGIOutputDuplication

Template update requires manual application (580a975c292d5a1d0ec66872ae0c81fa6a6a3638)

Open Beginner friendly
#57 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
2
Forks
0
Avg merge
2m
Merged PRs (30d)
7

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open .github/workflows/autobackport.yml and compare it with the supplied diff and referenced commit 580a975c292d5a1d0ec66872ae0c81fa6a6a3638. Apply the semantically equivalent workflow changes, then review the resulting diff to confirm it matches the requested update.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd
Issue type
Refactor
Difficulty
1/5
Estimated time
Under an hour
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
78/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.