File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,13 +16,18 @@ concurrency:
1616 group : ${{ github.workflow }}-${{ github.head_ref || github.ref }}
1717 cancel-in-progress : ${{ github.event_name == 'pull_request' }}
1818
19+ permissions : {}
20+
1921jobs :
2022 deploy-preview :
2123 name : Build & Deploy
2224 runs-on : ubuntu-latest
2325 if : |
2426 (github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'safe'))
2527 || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)
28+ permissions :
29+ deployments : write
30+ pull-requests : write
2631 steps :
2732 - name : Checkout
2833 uses : actions/checkout@v3
Original file line number Diff line number Diff line change 88 - main
99 workflow_dispatch : {}
1010
11+ permissions : {}
12+
1113jobs :
1214 deploy-preview :
1315 name : Build & Deploy
1416 runs-on : ubuntu-latest
17+ permissions :
18+ deployments : write
19+ pull-requests : write
1520
1621 steps :
1722 - name : Checkout
Original file line number Diff line number Diff line change 1919 - id : check-docstring-first
2020
2121 - repo : https://github.com/astral-sh/ruff-pre-commit
22- rev : v0.8.6
22+ rev : v0.9.5
2323 hooks :
2424 - id : ruff
2525 - id : ruff-format
@@ -29,10 +29,10 @@ repos:
2929 hooks :
3030 - id : prettier
3131 additional_dependencies :
32- - prettier@3.0 .3
32+ - prettier@3.3 .3
3333 - prettier-plugin-go-template@0.0.15
3434
3535 - repo : https://github.com/woodruffw/zizmor-pre-commit
36- rev : v1.0 .0
36+ rev : v1.3 .0
3737 hooks :
3838 - id : zizmor
You can’t perform that action at this time.
0 commit comments