name: Make changes
This commit is contained in:
parent
8f049d6edc
commit
900c665bba
1 changed files with 12 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue