File tree 1 file changed +21
-7
lines changed
1 file changed +21
-7
lines changed Original file line number Diff line number Diff line change @@ -62,11 +62,25 @@ jobs:
62
62
git commit -m "Wrap translations"
63
63
echo "WRAPPED=True" >> $GITHUB_ENV
64
64
fi
65
- # Push changes
66
- - name : Push changes
67
- if : env.WRAPPED == 'True'
68
- uses : ad-m/github-push-action@master
65
+ # Create pull request
66
+ - name : Create Pull Request
67
+ id : cpr
68
+ uses : peter-evans/create-pull-request@v4
69
69
with :
70
- github_token : ${{ secrets.GITHUB_TOKEN }}
71
- branch : ${{ github.ref_name }}
72
- force : True
70
+ token : ${{ secrets.GITHUB_TOKEN }}
71
+ commit-message : Update report
72
+ committer : GitHub <noreply@github.com>
73
+ author : ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
74
+ signoff : false
75
+ branch : ${{ github.ref_name }}/wrap
76
+ delete-branch : true
77
+ title : ' Wrap branch: ${{ github.ref_name }}'
78
+ body : |
79
+ Wrapped all translations on requested branch.
80
+
81
+ labels : |
82
+ wrap
83
+ assignees : github-actions
84
+ team-reviewers : |
85
+ reviewers
86
+ draft : false
You can’t perform that action at this time.
0 commit comments