Skip to content

Commit

Permalink
ci(update-flake): update pr branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
imincik committed Apr 18, 2024
1 parent f6223e4 commit 537e014
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/update-flake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,24 @@ jobs:
run: >
nix flake update
- name: Generate branch name
id: branch
run: echo branch="pkgs-weekly-update-$(date "+%Y.%V")" >> "$GITHUB_OUTPUT"

- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
add-paths: |
flake.lock
title: "flake: automatic update of nix flake inputs"
title: "flake: weekly update of nix flake inputs (${{ steps.branch.outputs.branch }})"
body: |
Update nix flake inputs to the latest revision.
PR auto-generated by [create-pull-request][1].
[1]: https://github.com/peter-evans/create-pull-request
branch: flake-update-action-pr
branch: "${{ steps.branch.outputs.branch }}"
delete-branch: true
commit-message: "flake: update nix flake inputs"
commit-message: "flake: weekly update of nix flake inputs "
committer: GitHub <noreply@github.com>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
assignees: imincik
Expand Down

0 comments on commit 537e014

Please sign in to comment.