File tree 1 file changed +8
-5
lines changed
1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,12 @@ jobs:
12
12
name : Build package
13
13
runs-on : ubuntu-latest
14
14
steps :
15
- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
15
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
16
16
- name : Build package
17
17
run : pipx run build
18
18
- name : List files
19
19
run : ls -l dist/
20
- - uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
20
+ - uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
21
21
with :
22
22
name : distribution
23
23
path : |
@@ -34,16 +34,19 @@ jobs:
34
34
permissions :
35
35
id-token : write
36
36
steps :
37
- - uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
37
+ - uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
38
38
with :
39
39
name : distribution
40
40
path : dist
41
41
- name : List files
42
42
run : ls -l dist/
43
43
- name : Publish package distributions to PyPI
44
- uses : pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
44
+ uses : pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
45
45
46
46
discord_release :
47
+ permissions :
48
+ contents : read
49
+
47
50
if : github.repository_owner == 'google'
48
51
runs-on : ubuntu-latest
49
52
steps :
63
66
maxLength : 2000
64
67
truncationSymbol : " ..."
65
68
- name : Discord Webhook Action
66
- uses : tsickert/discord-webhook@c840d45a03a323fbc3f7507ac7769dbd91bfb164 # v5.3 .0
69
+ uses : tsickert/discord-webhook@b217a69502f52803de774ded2b1ab7c282e99645 # v7.0 .0
67
70
with :
68
71
webhook-url : ${{ secrets.DISCORD_WEBHOOK_URL }}
69
72
content : ${{ steps.get-content.outputs.string }}
You can’t perform that action at this time.
0 commit comments