Skip to content

Commit f02139a

Browse files
Merge pull request #324 from DeterminateSystems/gustavderdrache/push-pwnwqzrvtysy
Replace eslint with oxlint and bump deps
2 parents 94ec866 + 25da8e9 commit f02139a

16 files changed

Lines changed: 2959 additions & 6460 deletions

‎.eslintrc.json‎

Lines changed: 0 additions & 74 deletions
This file was deleted.

‎.prettierignore‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎README.md‎

Lines changed: 16 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ name: "Flake.lock: update Nix dependencies"
1616
on:
1717
workflow_dispatch: # allows manual triggering
1818
schedule:
19-
- cron: '0 0 * * 0' # runs weekly on Sunday at 00:00
19+
- cron: "0 0 * * 0" # runs weekly on Sunday at 00:00
2020

2121
jobs:
2222
nix-flake-update:
@@ -32,7 +32,7 @@ jobs:
3232
- uses: DeterminateSystems/update-flake-lock@main
3333
with:
3434
pr-title: "Update Nix flake inputs" # Title of PR to be created
35-
pr-labels: | # Labels to be set on the PR
35+
pr-labels: | # Labels to be set on the PR
3636
dependencies
3737
automated
3838
```
@@ -50,7 +50,7 @@ name: update-flake-lock
5050
on:
5151
workflow_dispatch: # allows manual triggering
5252
schedule:
53-
- cron: '0 0 * * 0' # runs weekly on Sunday at 00:00
53+
- cron: "0 0 * * 0" # runs weekly on Sunday at 00:00
5454

5555
jobs:
5656
lockfile:
@@ -75,7 +75,7 @@ name: update-flake-lock
7575
on:
7676
workflow_dispatch: # allows manual triggering
7777
schedule:
78-
- cron: '0 0 * * 0' # runs weekly on Sunday at 00:00
78+
- cron: "0 0 * * 0" # runs weekly on Sunday at 00:00
7979
8080
jobs:
8181
lockfile:
@@ -98,7 +98,7 @@ name: update-flake-lock
9898
on:
9999
workflow_dispatch: # allows manual triggering
100100
schedule:
101-
- cron: '0 0 * * 0' # runs weekly on Sunday at 00:00
101+
- cron: "0 0 * * 0" # runs weekly on Sunday at 00:00
102102
103103
jobs:
104104
lockfile:
@@ -127,7 +127,7 @@ on:
127127
workflow_dispatch: # allows manual triggering
128128
pull_request: # triggers on every Pull Request
129129
schedule:
130-
- cron: '0 0 * * 0' # runs weekly on Sunday at 00:00
130+
- cron: "0 0 * * 0" # runs weekly on Sunday at 00:00
131131
132132
jobs:
133133
lockfile:
@@ -142,7 +142,7 @@ jobs:
142142
uses: DeterminateSystems/update-flake-lock@main
143143
with:
144144
inputs: input1 input2 input3
145-
path-to-flake-dir: 'nix/' # in this example our flake doesn't sit at the root of the repository, it sits under 'nix/flake.nix'
145+
path-to-flake-dir: "nix/" # in this example our flake doesn't sit at the root of the repository, it sits under 'nix/flake.nix'
146146
```
147147

148148
## Example using a different Git user
@@ -154,7 +154,7 @@ name: update-flake-lock
154154
on:
155155
workflow_dispatch: # allows manual triggering
156156
schedule:
157-
- cron: '0 0 * * 0' # runs weekly on Sunday at 00:00
157+
- cron: "0 0 * * 0" # runs weekly on Sunday at 00:00
158158
159159
jobs:
160160
lockfile:
@@ -192,7 +192,7 @@ name: update-flake-lock
192192
on:
193193
workflow_dispatch: # allows manual triggering
194194
schedule:
195-
- cron: '0 0 * * 1,4' # Run twice a week
195+
- cron: "0 0 * * 1,4" # Run twice a week
196196
197197
jobs:
198198
lockfile:
@@ -211,7 +211,7 @@ jobs:
211211
## With GPG commit signing
212212

213213
It's possible for the bot to produce GPG-signed commits.
214-
Associating a GPG public key to a GitHub user account isn't required but it *is* necessary if you want the signed commits to appear as verified in Github.
214+
Associating a GPG public key to a GitHub user account isn't required but it _is_ necessary if you want the signed commits to appear as verified in Github.
215215
This can be a compliance requirement in some cases.
216216

217217
You can follow [GitHub's guide to creating and/or adding a new GPG key to an user account](https://docs.github.com/en/authentication/managing-commit-signature-verification/adding-a-new-gpg-key-to-your-github-account).
@@ -231,7 +231,7 @@ name: update-flake-lock
231231
on:
232232
workflow_dispatch: # allows manual triggering
233233
schedule:
234-
- cron: '0 0 * * 1,4' # Run twice a week
234+
- cron: "0 0 * * 1,4" # Run twice a week
235235
236236
jobs:
237237
lockfile:
@@ -254,27 +254,19 @@ jobs:
254254

255255
By default, the generated PR body uses this template:
256256

257+
<!-- prettier-ignore -->
257258
````handlebars
258259
Automated changes by the [update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock) GitHub Action.
259260

260-
````
261+
```
261262
{{ env.GIT_COMMIT_MESSAGE }}
262-
````
263263
```
264264
265265
### Running GitHub Actions on this PR
266266
267-
GitHub Actions doesn't run workflows on pull requests that are opened by a GitHub Action.
267+
GitHub Actions will not run workflows on pull requests which are opened by a GitHub Action.
268268
269-
To run GitHub Actions workflows on this PR, run:
270-
271-
```sh
272-
git branch -D update_flake_lock_action
273-
git fetch origin
274-
git checkout update_flake_lock_action
275-
git commit --amend --no-edit
276-
git push origin update_flake_lock_action --force
277-
```
269+
**To run GitHub Actions workflows on this PR, close and re-open this pull request.**
278270
````
279271
280272
You can customize it, however, using variable interpolation performed with [Handlebars].
@@ -296,7 +288,7 @@ name: update-flake-lock
296288
on:
297289
workflow_dispatch: # allows manual triggering
298290
schedule:
299-
- cron: '0 0 * * 1,4' # Run twice a week
291+
- cron: "0 0 * * 1,4" # Run twice a week
300292
301293
jobs:
302294
lockfile:

0 commit comments

Comments
 (0)