Skip to content

Commit 0eac521

Browse files
committed
switch to doing the commit manually
Signed-off-by: Andrew Brandt <[email protected]>
1 parent 21a49b8 commit 0eac521

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

action.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,10 @@ runs:
150150
- name: Commit values to repo-properties.yaml
151151
if: ${{ inputs.commit-changes == 'true' }}
152152
shell: bash
153-
uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 # v9.1.4
154-
with:
155-
cwd: "."
156-
author_name: ${{ inputs.commit-author-name }}
157-
author_email: ${{ inputs.commit-author-email }}
158-
message: "chore: commit repo custom properties to properties file"
159-
push: true
153+
run: |
154+
git config user.name "${{ inputs.commit-author-name }}"
155+
git config user.email "${{ inputs.commit-author-email }}"
156+
git add repo-properties.yaml
157+
git commit -m "chore: commit repo custom properties to properties file" || echo "Nothing to commit"
158+
git push
160159

0 commit comments

Comments
 (0)