File tree Expand file tree Collapse file tree 5 files changed +32
-7
lines changed Expand file tree Collapse file tree 5 files changed +32
-7
lines changed Original file line number Diff line number Diff line change 36
36
run : |
37
37
uv run coverage json
38
38
echo "COVERAGE=$(jq '.totals.percent_covered_display|tonumber' coverage.json)" >> $GITHUB_ENV
39
- - uses : mshick/add-pr-comment@v2
39
+ - uses : mshick/add-pr-comment@dd126dd8c253650d181ad9538d8b4fa218fc31e8
40
40
if : ${{ github.event_name == 'pull_request' }}
41
41
with :
42
42
message : |
Original file line number Diff line number Diff line change 17
17
url : https://pypi.org/p/fakeredis
18
18
steps :
19
19
- uses : actions/checkout@v4
20
+ with :
21
+ persist-credentials : false
20
22
- name : Set up Python
21
23
uses : actions/setup-python@v5
22
24
with :
Original file line number Diff line number Diff line change 10
10
PYPI_TEST_URL : https://test.pypi.org/p/django-tasks-scheduler
11
11
12
12
jobs :
13
-
14
13
build :
15
14
name : Build distribution 📦
16
15
runs-on : ubuntu-latest
17
-
16
+ permissions :
17
+ id-token : write # IMPORTANT: this permission is mandatory for trusted publishing
18
18
steps :
19
19
- uses : actions/checkout@v4
20
+ with :
21
+ persist-credentials : false
20
22
- name : Set up Python
21
23
uses : actions/setup-python@v5
22
24
with :
Original file line number Diff line number Diff line change 13
13
ruff :
14
14
runs-on : ubuntu-latest
15
15
name : " ruff on code"
16
+ permissions :
17
+ contents : read
16
18
steps :
17
19
- uses : actions/checkout@v4
18
-
20
+ with :
21
+ persist-credentials : false
19
22
- name : Install uv
20
23
uses : astral-sh/setup-uv@v6
21
24
- uses : actions/setup-python@v5
42
45
django-version : ' 5.2'
43
46
broker : ' redis'
44
47
coverage : yes
45
-
48
+ permissions :
49
+ pull-requests : write
46
50
services :
47
51
redis :
48
52
image : redis:7.2.2
69
73
70
74
steps :
71
75
- uses : actions/checkout@v4
76
+ with :
77
+ persist-credentials : false
72
78
- name : Install uv
73
79
uses : astral-sh/setup-uv@v6
74
80
- uses : actions/setup-python@v5
@@ -120,7 +126,7 @@ jobs:
120
126
121
127
- name : Create coverage badge
122
128
if : ${{ matrix.coverage == 'yes' && github.event_name == 'push' }}
123
- uses : schneegans/dynamic-badges-action@v1.7.0
129
+ uses : schneegans/dynamic-badges-action@7142847813c746736c986b42dec98541e49a2cea
124
130
with :
125
131
auth : ${{ secrets.GIST_SECRET }}
126
132
gistID : b756396efb895f0e34558c980f1ca0c7
@@ -141,6 +147,6 @@ jobs:
141
147
needs : test-regular
142
148
runs-on : ubuntu-latest
143
149
steps :
144
- - uses : release-drafter/release-drafter@v6
150
+ - uses : release-drafter/release-drafter@b1476f6e6eb133afa41ed8589daba6dc69b4d3f5
145
151
env :
146
152
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
1
+ rules :
2
+ unpinned-images :
3
+ ignore :
4
+ - ' test.yml'
5
+ - ' test-dragonfly.yml'
6
+ unpinned-uses :
7
+ config :
8
+ policies :
9
+ actions/* : any
10
+ astral-sh/* : any
11
+ pypa/gh-action-pypi-publish : any
12
+ github-env :
13
+ ignore :
14
+ - ' action.yml:36:7'
15
+ - ' action.yml:28:7'
You can’t perform that action at this time.
0 commit comments