Skip to content

Commit

Permalink
Update self.use.yaml with new embed image and thumbnail URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
kfird214 committed Dec 31, 2023
1 parent d656650 commit 94a4385
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/self.use.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,25 +21,28 @@ jobs:
uses: ./
with:
webhook-url: ${{ inputs.webhook }}
username: ${{ github.event.sender.name }}
avatar-url: ${{ github.event.sender.avatar_url }}

username: ${{ github.repository }} CI
avatar-url: https://github.githubassets.com/images/modules/logos_page/Octocat.png

embed-color: 0x33b4ff
embed-title: "${{ github.workflow }} #${{ github.run_number }} (${{ github.actor }} <${{ env.GIT_COMMIT_AUTHOR_EMAIL }}>)"
embed-url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
embed-image-url: https://emojiapi.dev/api/v1/framed_picture.svg
embed-thumbnail-url: https://emojiapi.dev/api/v1/rocket.svg
embed-image-url: https://emojiapi.dev/api/v1/framed_picture/512.png
embed-thumbnail-url: https://emojiapi.dev/api/v1/rocket/256.png

embed-author-name: ${{ github.actor.name }}
embed-author-url: ${{ github.event.sender.avatar_url }}
embed-author-icon-url: ${{ github.event.sender.avatar_url }}
embed-author-url: ${{ github.actor.avatar_url }}
embed-author-icon-url: ${{ github.actor.avatar_url }}

embed-description: |
[${{ env.GIT_COMMIT_SHORT_SHA }}](${{ github.server_url }}/${{ github.repository }}/${{ github.sha }})
> ${{ env.GIT_COMMIT_MESSAGE_SUBJECT }}"
**${{ env.GIT_COMMIT_MESSAGE_SUBJECT }}**
---
> ${{ env.GIT_COMMIT_MESSAGE_BODY }}
${{ env.GIT_COMMIT_MESSAGE_BODY }}
embed-footer-text: Job id `${{ github.job }}`
embed-footer-icon-url: https://emojiapi.dev/api/v1/bullseye.svg
embed-footer-icon-url: https://emojiapi.dev/api/v1/bullseye/128.png

0 comments on commit 94a4385

Please sign in to comment.