name: Make changes

This commit is contained in:
miwr 2025-04-08 13:34:01 +02:00
parent 8f049d6edc
commit 900c665bba

View file

@ -45,10 +45,18 @@ jobs:
npm install @angular/cli
npm run lint
echo "getting the username"
# user_name=$(git config user.name)
# echo "Git User Name: $user_name"
# user_email=$(git config user.email)
# echo "Git User Email: $user_email"
- name: Checkout code
uses: actions/checkout@v4
- name: Make changes
run: |
# Perform actions that modify files in the repository
echo "Updated content" > my_file.txt
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "GitHub Actions Bot"
git add .
git commit -m "Automated update by GitHub Actions"
git push origin HEAD:${{ github.ref_name }}
- name: Update version
run: |
chmod +x update-version.sh