Skip to content

Commit ba2ad4f

Browse files
added dynamic branch and pr names
1 parent 221eede commit ba2ad4f

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/cleanrepo.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,14 @@ jobs:
5656
url_base_path: "/dotnet"
5757

5858
# Create the PR for the work done by the "clean repo" tool
59+
- name: Set timestamp
60+
id: vars
61+
run: echo "timestamp=$(date +'%Y%m%d-%H%M')" >> $GITHUB_ENV
62+
5963
- name: create-pull-request
6064
uses: dotnet/actions-create-pull-request@v4
6165
with:
62-
branch: cleanrepo-orphaned-articles-01
63-
title: "Clean Repo: Delete orphaned content"
64-
commit-message: "Bot 🤖 generated CleanRepo tool run"
65-
body: "Find and delete orphaned articles. Contributes to #..."
66+
branch: cleanrepo-atadocs-${{ env.timestamp }}
67+
title: "Clean Repo ATADocs: Delete orphaned content ${{ env.timestamp }}"
68+
commit-message: "Bot 🤖 generated CleanRepo tool run ${{ env.timestamp }}"
69+
body: "Find and delete orphaned articles, includes, images, and snippets. Contributes to #..."

0 commit comments

Comments
 (0)