We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 729106d commit 7bb66e8Copy full SHA for 7bb66e8
.github/workflows/create_new_post_pr.yaml
@@ -20,12 +20,13 @@ jobs:
20
- name: Make draft item and get branch name
21
id: get_name
22
run: |
23
+ git config --global user.name 'github-actions[bot]'
24
+ git config --global user.email 'github-actions[bot]@users.noreply.github.com'
25
+
26
branch_name=$(echo "${{ github.event.inputs.name }}" | tr '[:upper:]' '[:lower:]' | tr ' ' '-')
27
28
# Create an item in drafts directory
29
touch drafts/${branch_name}
- git add drafts
- git commit -m "create PR from branch ${branch_name}"
30
31
echo "branch_name=$branch_name" >> $GITHUB_OUTPUT
32
0 commit comments