We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 071e781 commit a9af107Copy full SHA for a9af107
.github/workflows/update-flake-dependencies.yml
@@ -15,11 +15,14 @@ jobs:
15
- uses: DeterminateSystems/magic-nix-cache-action@main
16
- name: update flake.lock
17
run: nix flake update
18
+ - name: Define Unique COMMIT_BRANCH by Timestamp
19
+ run: |
20
+ TIMESTAMP=$(date +'%Y-%m-%d-%H%M%S')
21
+ echo "COMMIT_BRANCH=automation/update-flake-dependencies-$TIMESTAMP" >> $GITHUB_ENV
22
- name: Create signed commit with flake.lock changes
23
env:
24
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25
FILE_TO_COMMIT: flake.lock
- COMMIT_BRANCH: automation/update-flake-dependencies
26
COMMIT_MESSAGE: "chore(nix): Update Flake dependencies"
27
run: |
28
# make sure something actually changed first, if not, no updates required
0 commit comments