diff options
| author | seth <[email protected]> | 2023-05-24 06:21:02 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-05-24 06:21:41 -0400 |
| commit | e316ddc0280c9b5e9da9be37e6c7df56ef202bf0 (patch) | |
| tree | adbee6fe01aa411019d8ff71e860bd8e5bd1280e /.github/workflows | |
| parent | e23620d10a5fb27f613e5b71cb0627fb1c4076b3 (diff) | |
actions: give format workflow contents perms
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/format.yaml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml index 78b6ef1..d4849eb 100644 --- a/.github/workflows/format.yaml +++ b/.github/workflows/format.yaml @@ -5,6 +5,9 @@ on: branches: [main] workflow_dispatch: +permissions: + contents: write + jobs: format: runs-on: ubuntu-latest @@ -23,7 +26,7 @@ jobs: - name: format run: | - nix develop --command bash -c "pnpm format" + nix develop --command bash -c "pnpm install && pnpm format" - name: add and commit uses: EndBug/add-and-commit@v9 |
