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 install @angular/cli
|
||||||
npm run lint
|
npm run lint
|
||||||
echo "getting the username"
|
echo "getting the username"
|
||||||
# user_name=$(git config user.name)
|
- name: Checkout code
|
||||||
# echo "Git User Name: $user_name"
|
uses: actions/checkout@v4
|
||||||
# user_email=$(git config user.email)
|
|
||||||
# echo "Git User Email: $user_email"
|
- 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
|
- name: Update version
|
||||||
run: |
|
run: |
|
||||||
chmod +x update-version.sh
|
chmod +x update-version.sh
|
||||||
|
|
Loading…
Reference in a new issue