Skip to content

Commit

Permalink
ci: use date in branch
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Jun 21, 2023
1 parent 418fa2b commit 038f481
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/update-dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,15 @@ jobs:
- name: Update dependencies
run: npx npm-check-updates -u

- run: echo DATE="`date --iso-8601`" >> $GITHUB_ENV

- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
commit-message: "fix: update dependencies"
committer: "github-actions[bot] <actions@example.com>"
author: "github-actions[bot] <actions@example.com>"
branch: update-dependencies
branch: update-dependencies-${{ env.DATE }}
delete-branch: true
title: "Update dependencies"
body: "Updates the dependencies to the latest version"
Expand Down

0 comments on commit 038f481

Please sign in to comment.