File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,8 +17,9 @@ permissions:
1717 contents : read
1818
1919jobs :
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 :
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 99 issues :
1010 types : [labeled]
1111
12- permissions :
13- contents : read
12+ permissions : {}
1413
1514jobs :
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 }}
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ name: Pre-commit check
88on :
99 push :
1010 branches-ignore :
11+ - copilot/**
12+ - codex/**
1113 - renovate/**
1214 - weblate
1315 - dependabot/**
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
Original file line number Diff line number Diff line change 33# SPDX-License-Identifier: CC0-1.0
44
55# This file is maintained in https://github.com/WeblateOrg/meta/
6-
76name : Pull request automation
87
98on : # zizmor: ignore[dangerous-triggers]
109 pull_request_target :
1110 types : opened
1211
13- permissions :
14- contents : read
12+ permissions : {}
1513
1614jobs :
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 :
Original file line number Diff line number Diff 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 :
You can’t perform that action at this time.
0 commit comments