mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-29 18:55:49 +00:00
Update testing_flow.yml
This commit is contained in:
parent
92a01916c6
commit
2898dfd995
1 changed files with 27 additions and 16 deletions
43
.github/workflows/testing_flow.yml
vendored
43
.github/workflows/testing_flow.yml
vendored
|
@ -24,17 +24,22 @@ jobs:
|
||||||
- name: install curl
|
- name: install curl
|
||||||
run: apk --no-cache add curl
|
run: apk --no-cache add curl
|
||||||
|
|
||||||
- name: Create a file
|
- name: Update file
|
||||||
run: |
|
run: |
|
||||||
echo "added dummy file 6" > file28.txt
|
echo "added dummy file 6" >> file28.txt
|
||||||
|
|
||||||
- name: commit and push
|
- name: commit and push 1
|
||||||
run: |
|
run: |
|
||||||
git config user.name jstan-isch
|
if [[ -n "$(git status --porcelain)" ]]; then
|
||||||
git config user.email stanleyikegwuonu@gmail.com
|
echo "Changes found"
|
||||||
git add .
|
git config user.name jstan-isch
|
||||||
git commit -m "generated"
|
git config user.email stanleyikegwuonu@gmail.com
|
||||||
git push
|
git add .
|
||||||
|
git commit -m "generated"
|
||||||
|
git push
|
||||||
|
else
|
||||||
|
echo "No changes found, exiting."
|
||||||
|
echo "Job Completed!"
|
||||||
|
|
||||||
|
|
||||||
tee-the-contexts:
|
tee-the-contexts:
|
||||||
|
@ -52,17 +57,23 @@ jobs:
|
||||||
ref: ${{ github.event.pull_request.head.ref }}
|
ref: ${{ github.event.pull_request.head.ref }}
|
||||||
# token: ${{ secrets.MY_PAT }}
|
# token: ${{ secrets.MY_PAT }}
|
||||||
|
|
||||||
- name: Create a file
|
- name: Update file
|
||||||
run: |
|
run: |
|
||||||
echo "added dummy file 6" > Jenkinsfile_main
|
echo "added dummy file 6" >> Jenkinsfile_main
|
||||||
|
|
||||||
- name: commit and push
|
- name: commit and push 2
|
||||||
run: |
|
run: |
|
||||||
git config user.name jstan-isch
|
run: |
|
||||||
git config user.email stanleyikegwuonu@gmail.com
|
if [[ -n "$(git status --porcelain)" ]]; then
|
||||||
git add .
|
echo "Changes found"
|
||||||
git commit -m "generated"
|
git config user.name jstan-isch
|
||||||
git push
|
git config user.email stanleyikegwuonu@gmail.com
|
||||||
|
git add .
|
||||||
|
git commit -m "generated"
|
||||||
|
git push
|
||||||
|
else
|
||||||
|
echo "No changes found, exiting."
|
||||||
|
echo "Job Completed!"
|
||||||
|
|
||||||
vee-the-contexts:
|
vee-the-contexts:
|
||||||
needs: [see-the-contexts, tee-the-contexts]
|
needs: [see-the-contexts, tee-the-contexts]
|
||||||
|
|
Loading…
Reference in a new issue