Skip to content

Commit 03ac086

Browse files
committed
ci: adjust update-flake-lock.yaml for token
1 parent b580267 commit 03ac086

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/update-flake-lock.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,12 @@ jobs:
1111
- name: Checkout repository
1212
uses: actions/checkout@v4
1313
- name: Install Nix
14-
uses: cachix/install-nix-action@v17
15-
with:
16-
extra_nix_config: |
17-
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
14+
uses: DeterminateSystems/nix-installer-action@main
1815
- name: Update flake.lock
1916
uses: DeterminateSystems/update-flake-lock@main
2017
with:
21-
pr-title: "Update flake.lock" # Title of PR to be created
22-
pr-labels: | # Labels to be set on the PR
18+
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
19+
pr-title: "Update example/flake.lock"
20+
pr-labels: |
2321
automated
2422
path-to-flake-dir: 'example/'

0 commit comments

Comments
 (0)