File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,12 +12,12 @@ jobs:
1212 name : Build package
1313 runs-on : ubuntu-latest
1414 steps :
15- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
15+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1616 - name : Build package
1717 run : pipx run build
1818 - name : List files
1919 run : ls -l dist/
20- - uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
20+ - uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
2121 with :
2222 name : distribution
2323 path : |
@@ -34,16 +34,19 @@ jobs:
3434 permissions :
3535 id-token : write
3636 steps :
37- - uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
37+ - uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
3838 with :
3939 name : distribution
4040 path : dist
4141 - name : List files
4242 run : ls -l dist/
4343 - 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
4545
4646 discord_release :
47+ permissions :
48+ contents : read
49+
4750 if : github.repository_owner == 'google'
4851 runs-on : ubuntu-latest
4952 steps :
6366 maxLength : 2000
6467 truncationSymbol : " ..."
6568 - name : Discord Webhook Action
66- uses : tsickert/discord-webhook@c840d45a03a323fbc3f7507ac7769dbd91bfb164 # v5.3 .0
69+ uses : tsickert/discord-webhook@b217a69502f52803de774ded2b1ab7c282e99645 # v7.0 .0
6770 with :
6871 webhook-url : ${{ secrets.DISCORD_WEBHOOK_URL }}
6972 content : ${{ steps.get-content.outputs.string }}
You can’t perform that action at this time.
0 commit comments