Skip to content

Commit bddbe01

Browse files
Merge pull request #2000 from kristof-mattei/update-ci-scripts-and-module-for-formatting
feat: ensure formatting works
2 parents 146c27d + a7ae4c6 commit bddbe01

File tree

11 files changed

+18
-7
lines changed

11 files changed

+18
-7
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ on:
99
branches:
1010
- main
1111

12-
permissions:
13-
contents: read
14-
1512
concurrency:
1613
# each new commit to a PR runs this workflow
1714
# so we need to avoid a long running older one from overwriting the "pr-<number>-latest"
1815
group: "${{ github.workflow }} @ ${{ github.ref_name }}"
1916
cancel-in-progress: true
2017

18+
permissions:
19+
contents: read
20+
2121
env:
2222
CARGO_TERM_COLOR: always
2323
# set this to true in GitHub variables to enable building the container

.github/workflows/cleanup-pr-images.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
12
name: Cleanup PR closed, merged images
23

34
on:

.github/workflows/codeql.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
12
name: "CodeQL Advanced"
23

34
on:
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
name: Prettier
1+
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
2+
name: Format
23

34
on:
45
workflow_dispatch:
@@ -13,8 +14,8 @@ permissions:
1314
contents: read
1415

1516
jobs:
16-
prettier:
17-
name: Prettier
17+
format:
18+
name: Format
1819
runs-on: ubuntu-latest
1920
steps:
2021
- name: Checkout
@@ -40,4 +41,4 @@ jobs:
4041
- name: Run Prettier
4142
shell: bash
4243
run: |
43-
pnpm exec prettier --check .
44+
pnpm prettier --check .

.github/workflows/publish-crate-after-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
12
name: Publish crate
3+
24
on:
35
push:
46
tags:

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
12
name: Release
23

34
on:

.github/workflows/retag-containers-after-push.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
12
name: Retag containers after new push / PR
23

34
on:

.github/workflows/retag-containers-after-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
12
name: Update semantic tags on repo & image after release
23

34
on:

.github/workflows/semgrep.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
12
name: Semgrep
23

34
on:

.github/workflows/test-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
12
name: Test Release
23

34
on:

0 commit comments

Comments
 (0)