Skip to content

Commit

Permalink
rebase
Browse files Browse the repository at this point in the history
Signed-off-by: Cal <[email protected]>
  • Loading branch information
CallumWalley authored Oct 9, 2024
1 parent 6cd8e1c commit 00ac897
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/fetch_includes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,11 @@ jobs:
- name: Commit to Branch
id: commit
run: |
git fetch
body_message="This Merge Request was triggered by an update to $(git diff --name-only ${GITHUB_REF} | tr '\n' ', ')."
git fetch
if [[ $(git log ${GITHUB_REF}..HEAD) ]]; then
git rebase ${BRANCH_NAME}
git push origin ${BRANCH_NAME}
gh pr create -B ${GITHUB_REF} -H ${BRANCH_NAME} --title "Automatic Asset Update - $(date +'%Y-%m-%d')" --body "${body_message}" -l auto_merge
gh workflow run -R nesi/support-docs -r assets-update -f fileList=" " checks.yml
Expand Down

0 comments on commit 00ac897

Please sign in to comment.