Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoalh committed Sep 14, 2023
1 parent 061b334 commit ff4dd3e
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 8 deletions.
30 changes: 26 additions & 4 deletions .github/workflows/announce-new-release-discord.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,32 @@ on:
jobs:
main:
name: "Main"
uses: "hugoalh/hugoalh/.github/workflows/announce-new-release-discord.yml@main"
uses: "hugoalh/hugoalh/.github/workflows/reusable-announce-new-release-discord.yml@main"
with:
name: "Shuffle Array (Deno)"
color: "#000000"
thumbnail: "https://i.imgur.com/r4wRkZ5.png"
payload: |
embeds:
- title: "Shuffle Array (Deno)"
description: |
> ${{github.event.repository.description}}
Version ${{github.event.release.name}} (${{github.event.release.tag_name}}) just released!
timestamp: "${{github.event.release.published_at}}"
color: "#000000"
thumbnail:
url: "https://i.imgur.com/r4wRkZ5.png"
author:
name: "${{github.event.release.author.login}}"
url: "${{github.event.release.author.html_url}}"
icon_url: "${{github.event.release.author.avatar_url}}"
fields:
- name: "Deno Land"
value: "https://deno.land/x/shuffle_array"
inline: false
- name: "GitHub - Release & Changelog"
value: "${{github.event.release.html_url}}"
inline: false
- name: "GitHub - Repository"
value: "${{github.event.repository.html_url}}"
inline: false
secrets:
DISCORD_WEBHOOK: "${{secrets.DISCORD_HXHS_PROJECTNEWRELEASEANNOUNCER_WEBHOOK}}"
2 changes: 1 addition & 1 deletion .github/workflows/code-review-deno.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ on:
jobs:
main:
name: "Main"
uses: "hugoalh/hugoalh/.github/workflows/code-review-deno.yml@main"
uses: "hugoalh/hugoalh/.github/workflows/reusable-code-review-deno.yml@main"
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ on:
jobs:
main:
name: "Main"
uses: "hugoalh/hugoalh/.github/workflows/codeql-analysis.yml@main"
uses: "hugoalh/hugoalh/.github/workflows/reusable-codeql-analysis.yml@main"
2 changes: 1 addition & 1 deletion .github/workflows/scan-virus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ on:
jobs:
main:
name: "Main"
uses: "hugoalh/hugoalh/.github/workflows/scan-virus.yml@main"
uses: "hugoalh/hugoalh/.github/workflows/reusable-scan-virus.yml@main"
with:
git_integrate: "${{github.event.inputs.git_integrate || 'False'}}"
git_limit: "${{github.event.inputs.git_limit || '0'}}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ permissions:
jobs:
main:
name: "Main"
uses: "hugoalh/hugoalh/.github/workflows/sync-labels.yml@main"
uses: "hugoalh/hugoalh/.github/workflows/reusable-sync-labels.yml@main"

0 comments on commit ff4dd3e

Please sign in to comment.