Skip to content

Commit

Permalink
Update Preserve-commits.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yugaa22 authored Aug 8, 2023
1 parent ff139a5 commit b6e066e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/Preserve-commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,16 @@ jobs:
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- name: List files in the repository
run: |
# ls ${{ github.workspace }}
# ls ${{ github.workspace }}
git clone https://github.com/${{ github.repository }}
git branch
touch Dev_commits
git config --global user.email "[email protected]"
git config --global user.name "yugaa22"
git log -1 | grep commit | awk '{print $2}' >> Dev_commits
git add .
git commit -m "Developper_commits"
git remote set-url origin https://${{ github.actor }}:[email protected]/${{ github.repository }}
git push
- run: echo "🍏 This job's status is ${{ job.status }}."

0 comments on commit b6e066e

Please sign in to comment.