Skip to content

Commit

Permalink
changed to direct commit instead of PR
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxMTheilig committed Jan 10, 2024
1 parent b24d8b7 commit 2cabae5
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 41 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/codfsh-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
sushi:
min_version: "3.0.0"
min_version: "3.5.0"
hapi:
min_version: "3.0.0"
parameters:
Expand Down
37 changes: 19 additions & 18 deletions .github/workflows/RenderAllDiagrams.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,22 +75,23 @@ jobs:
find $dir -name "*.svg" -exec mv {} $img_dir \;
done
# add and commit the new generated files
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
branch: auto/images-generation
commit-message: Generated Images from source Code by GitHub Action
title: Generated Images from GitHub Action
assignees: ${{ github.actor }}
reviewers: ${{ github.actor }}
delete-branch: true
labels: automated pr
## add and commit the new generated files
#- name: Create Pull Request
# uses: peter-evans/create-pull-request@v5
# with:
# branch: auto/images-generation
# commit-message: Generated Images from source Code by GitHub Action
# title: Generated Images from GitHub Action
# assignees: ${{ github.actor }}
# reviewers: ${{ github.actor }}
# delete-branch: true
# labels: automated pr

#- name: Commit and push
# run: |
# git config --local user.email "[email protected]"
# git config --local user.name "GitHub Action"
# git add -A
# git commit -m "Add rendered PlantUML and DrawIO to SVG diagrams" || exit 0
# git push
- name: Commit rendered files
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_user_name: GitHub Actions Bot
commit_user_email: [email protected]
commit_author: ${{ github.actor }}
commit-message: auto-generated diagrams by GitHub Action after source code change

31 changes: 19 additions & 12 deletions .github/workflows/RenderPlantUML.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,22 +38,29 @@ jobs:
done


# add and commit the new generated files
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
branch: auto/images-generation
commit-message: Generated Images from source Code by GitHub Action
title: Generated Images from GitHub Action
assignees: ${{ github.actor }}
reviewers: ${{ github.actor }}
delete-branch: true
labels: automated pr
# # add and commit the new generated files
#- name: Create Pull Request
# uses: peter-evans/create-pull-request@v5
# with:
# branch: auto/images-generation
# commit-message: Generated Images from source Code by GitHub Action
# title: Generated Images from GitHub Action
# assignees: ${{ github.actor }}
# reviewers: ${{ github.actor }}
# delete-branch: true
# labels: automated pr

#- name: Commit and push
# run: |
# git config --local user.email "[email protected]"
# git config --local user.name "GitHub Action"
# git add -A
# git commit -m "Add rendered PlantUML to SVG diagrams" || exit 0
# git push
# git push
- name: Commit rendered files
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_user_name: GitHub Actions Bot
commit_user_email: [email protected]
commit_author: ${{ github.actor }}
commit-message: auto-generated diagrams by GitHub Action after source code change
10 changes: 0 additions & 10 deletions Material/imgsrc/plantuml/noName_Test.puml

This file was deleted.

0 comments on commit 2cabae5

Please sign in to comment.