Skip to content

Commit

Permalink
Update fetch_includes.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Cal <35017184+CallumWalley@users.noreply.github.com>
  • Loading branch information
CallumWalley authored Sep 24, 2024
1 parent 262ee59 commit 96e3a70
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/fetch_includes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git config pull.rebase true
# git checkout ${GITHUB_REF}
# git pull origin ${GITHUB_REF}
git pull origin ${GITHUB_REF}
git branch -D ${BRANCH_NAME} || true
git checkout -b ${BRANCH_NAME}
mkdir -pv docs/assets/glossary
Expand All @@ -44,7 +44,6 @@ jobs:
run: |
body_message="This Merge Request was triggered by an update to $(git diff --name-only ${GITHUB_REF} | tr '\n' ', ')."
if [[ $(git log ${GITHUB_REF}..HEAD) ]]; then
git pull origin ${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 96e3a70

Please sign in to comment.