Skip to content

Commit

Permalink
Let the workflow create a new PR when changes are available
Browse files Browse the repository at this point in the history
  • Loading branch information
MGaetan89 committed Mar 5, 2024
1 parent 3af201a commit 70374db
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/tech_radar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,11 @@ jobs:
if [ `git ls-files -m | wc -l` -gt 0 ]; then
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git checkout -b github-actions/update_tech_radar_$(date +"%Y-%m-%d")
git add public/techRadar/used_languages.md
git add public/techRadar/used_dependencies.md
git commit -m "Update Tech Radar"
git commit -m "Update Tech Radar $(date +"%Y-%m-%d")"
git push
gh pr create --fill
fi

0 comments on commit 70374db

Please sign in to comment.