Skip to content

Commit a116810

Browse files
committed
chore: sync with WeblateOrg/meta
1 parent 5caf3ad commit a116810

6 files changed

Lines changed: 15 additions & 17 deletions

File tree

.github/workflows/closing.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ permissions:
1717
contents: read
1818

1919
jobs:
20-
issueClosed:
20+
issue-closed:
2121
permissions:
22+
contents: read # for actions/checkout
2223
issues: write # for gh issue comment
2324
runs-on: ubuntu-slim
2425
steps:

.github/workflows/dependency-review.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
runs-on: ubuntu-slim
1616
steps:
1717
- name: Checkout Repository
18-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
18+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1919
with:
2020
persist-credentials: false
2121
- name: Dependency Review
22-
uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v5.0.0
22+
uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v5.0.0

.github/workflows/labels.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@ on:
99
issues:
1010
types: [labeled]
1111

12-
permissions:
13-
contents: read
12+
permissions: {}
1413

1514
jobs:
16-
issueLabeled:
15+
issue-labeled:
16+
if: ${{ ! github.event.issue.pull_request && github.event.label.name == 'good first issue' }}
1717
permissions:
18+
contents: read # for actions/checkout
1819
issues: write # for gh issue comment
1920
runs-on: ubuntu-slim
2021
steps:
2122
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2223
with:
2324
persist-credentials: false
2425
- name: Add good first issue comment
25-
if: ${{ github.event.label.name == 'good first issue' }}
2626
env:
2727
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2828
ISSUE_NUMBER: ${{ github.event.issue.number }}

.github/workflows/pre-commit.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ name: Pre-commit check
88
on:
99
push:
1010
branches-ignore:
11+
- copilot/**
12+
- codex/**
1113
- renovate/**
1214
- weblate
1315
- dependabot/**
@@ -21,7 +23,7 @@ jobs:
2123
runs-on: ubuntu-24.04-arm
2224

2325
steps:
24-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
26+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2527
with:
2628
persist-credentials: false
2729
- uses: ./.github/actions/pre-commit-setup

.github/workflows/pull_requests.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,20 @@
33
# SPDX-License-Identifier: CC0-1.0
44

55
# This file is maintained in https://github.com/WeblateOrg/meta/
6-
76
name: Pull request automation
87

98
on: # zizmor: ignore[dangerous-triggers]
109
pull_request_target:
1110
types: opened
1211

13-
permissions:
14-
contents: read
12+
permissions: {}
1513

1614
jobs:
17-
weblate_automerge:
15+
weblate-automerge:
1816
runs-on: ubuntu-slim
1917
name: Weblate automerge
2018
if: github.actor == 'weblate'
2119
steps:
22-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
23-
with:
24-
persist-credentials: false
2520
- name: Enable Pull Request Automerge
2621
run: gh pr merge --rebase --auto "$PR_NUMBER"
2722
env:

.github/workflows/setup.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ jobs:
4141
- name: pydistcheck
4242
run: uvx pydistcheck --inspect dist/*
4343
- name: pyroma
44-
run: uvx --with pip pyroma dist/*.tar.gz
44+
run: uvx pyroma dist/*.tar.gz
4545
- name: check-wheel-contents
4646
run: uvx check-wheel-contents dist/*.whl
4747
- name: check-manifest
48-
run: uvx --with pip check-manifest -v
48+
run: uvx check-manifest -v
4949

5050
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
5151
with:

0 commit comments

Comments
 (0)