diff --git a/.github/workflows/update-flake.yml b/.github/workflows/update-flake.yml index fe898523..85d175ad 100644 --- a/.github/workflows/update-flake.yml +++ b/.github/workflows/update-flake.yml @@ -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 author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> assignees: imincik