File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -50,26 +50,22 @@ jobs:
50
50
git config user.email "webpack[bot]@users.noreply.github.com"
51
51
git config user.name "Webpack Bot"
52
52
53
- - name : Commit generated transcript (if changed)
53
+ - name : Add changed files (if changed)
54
54
run : |
55
55
if [ -n "$(git status --porcelain)" ]; then
56
- echo "Files changed."
57
56
git add --all
58
- git commit -m 'Add ${{ github.event.issue.title }} transcript'
59
57
echo "TRANSCRIPT_GENERATED=true" >> $GITHUB_ENV
60
58
fi
61
59
62
- - name : Create Pull Request
60
+ - name : Create Pull Request (if changed)
63
61
if : env.TRANSCRIPT_GENERATED == 'true'
64
62
uses : peter-evans/create-pull-request@v3
65
63
with :
66
64
base : ' main'
67
- commit-message : Add ${{ github.event.issue.title }} transcript
68
- title : Add ${{ github.event.issue.title }} transcript
65
+ commit-message : ' chore: add ${{ github.event.issue.title }} transcript'
66
+ title : ' chore: add ${{ github.event.issue.title }} transcript'
69
67
branch : generate-meeting-transcript
70
68
branch-suffix : timestamp
71
- author : Webpack Bot <webpack[bot]@users.noreply.github.com>
72
- committer : Webpack Bot <webpack[bot]@users.noreply.github.com>
73
69
body : |
74
70
Add ${{ github.event.issue.title }} transcript.
75
71
You can’t perform that action at this time.
0 commit comments