Skip to content

Commit

Permalink
testing python pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnorOKane-Kainos committed Jul 9, 2024
1 parent 1263e9c commit 6d975eb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/update-repos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ jobs:
run: |
git config --global user.name 'hmcts-platform-operations'
git config --global user.email '[email protected]'
BRANCH_NAME="update-repo-list-$(date +%Y%m%d%H%M%S)"
git checkout -b $BRANCH_NAME
export BRANCH_NAME="update-repo-list-$(date +%Y%m%d%H%M%S)"
echo "BRANCH_NAME=$BRANCH_NAME" >> $GITHUB_ENV
git checkout -b $BRANCH_NAME
- name: Commit changes
run: |
git add production-repos.json
git commit -m 'Update repository list'
git commit -m 'Update repository list' || echo "No changes to commit"
continue-on-error: true

- name: Push changes
Expand All @@ -53,5 +53,6 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: 'Update repository list'
branch: ${{ env.BRANCH_NAME }}
base: master
title: 'Update repository list'
body: 'Automated update of repository list.'

0 comments on commit 6d975eb

Please sign in to comment.