Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/tags_yaml_branch_pr_processing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,12 @@ jobs:
- name: Commit and push changes if any
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_HEAD_REF: ${{ github.event.pull_request.head.ref }}
run: |
git add .
if [ -n "$(git status --porcelain)" ]; then
git commit -sm "Update README based on tags.yaml changes"
git push origin HEAD:${{ github.event.pull_request.head.ref }}
git push origin HEAD:$PR_HEAD_REF
else
echo "No changes to commit"
fi