Skip to content

Commit d6b52f0

Browse files
committed
chore: Sync with WeblateOrg/meta
1 parent 7c1a0f3 commit d6b52f0

4 files changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/label-sync.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
runs-on: ubuntu-24.04
2323
steps:
2424
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
25+
with:
26+
persist-credentials: false
2527
- uses: srealmoreno/label-sync-action@850ba5cef2b25e56c6c420c4feed0319294682fd # v2.0.0
2628
with:
2729
clean-labels: true

.github/workflows/pre-commit.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121

2222
steps:
2323
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
24+
with:
25+
persist-credentials: false
2426
- uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
2527
with:
2628
path: ~/.cache/pre-commit

.github/workflows/pull_requests.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
name: Pull request automation
88

9-
on:
9+
on: # zizmor: ignore[dangerous-triggers]
1010
pull_request_target:
1111
types: opened
1212

@@ -23,6 +23,8 @@ jobs:
2323
if: github.actor == 'weblate'
2424
steps:
2525
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
26+
with:
27+
persist-credentials: false
2628
- name: Enable Pull Request Automerge
2729
run: gh pr merge --rebase --auto "${{ github.event.pull_request.number }}"
2830
env:

.pre-commit-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ repos:
5555
rev: 1.19.1
5656
hooks:
5757
- id: blacken-docs
58+
- repo: https://github.com/woodruffw/zizmor-pre-commit
59+
rev: v1.6.0
60+
hooks:
61+
- id: zizmor
5862
exclude: charts/weblate/README.md|charts/weblate/templates/.*\.yaml
5963
ci:
6064
autoupdate_schedule: quarterly

0 commit comments

Comments
 (0)