From ce5fd748425d367ce7f8eda4feeacd1bb49a68ad Mon Sep 17 00:00:00 2001 From: Susan Shi Date: Wed, 19 Jun 2024 11:48:39 +1000 Subject: [PATCH] add dates Signed-off-by: Susan Shi --- .github/workflows/pr-to-main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-to-main.yml b/.github/workflows/pr-to-main.yml index a7e1c0403..7b78846ef 100644 --- a/.github/workflows/pr-to-main.yml +++ b/.github/workflows/pr-to-main.yml @@ -14,10 +14,13 @@ jobs: steps: - name: git checkout uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 + - name: Get current date + id: date + run: echo "::set-output name=date::$(date +'%Y-%m-%d')" - name: create pull request with reposync action id: open-pr uses: repo-sync/pull-request@7e79a9f5dc3ad0ce53138f01df2fad14a04831c5 #v2.12.1 with: destination_branch: main - pr_title: chore: automated PR to main ${{ github.event.commits[0].message }} + pr_title: "chore: automated PR to main ${{ steps.date.outputs.date }}" pr_body: "Automated Pull Request to main branch"