Skip to content

Commit

Permalink
cmd/konflux: small updates on update-sources*
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Demeester <[email protected]>
  • Loading branch information
vdemeester committed Sep 18, 2024
1 parent e26b3a5 commit 2b33e40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
git config user.name github-actions
git config user.email [email protected]
git checkout -b actions/update/sources-{{"${{matrix.branch}}"}}
git --git-dir=upstream/.git fetch -p --all
git --git-dir=upstream/.git diff --stat HEAD..$(cat head) > /tmp/diff.txt
git --git-dir=upstream/.git rev-parse HEAD > head
rm -rf upstream/.git
Expand Down
2 changes: 1 addition & 1 deletion cmd/konflux/templates/github/workflows/update-sources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:

- name: Commit new changes
run: |
ls upstream/
git config user.name github-actions
git config user.email [email protected]
git checkout -b actions/update/sources-main
git --git-dir=upstream/.git fetch -p --all
git --git-dir=upstream/.git diff --stat HEAD..$(cat head) > /tmp/diff.txt
git --git-dir=upstream/.git rev-parse HEAD > head
rm -rf upstream/.git
Expand Down

0 comments on commit 2b33e40

Please sign in to comment.