Skip to content

Commit

Permalink
ci: add discord announcement workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Jul 12, 2024
1 parent 2c5063b commit d49eb95
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ on:
pull_request:
pull_request_target:
types: [opened, edited, synchronize]
release:
types: [published]

jobs:
CI:
uses: AstroNvim/.github/.github/workflows/plugin_ci.yml@main
if: ${{ github.event_name != 'pull_request_target' }}
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' }}
secrets: inherit
with:
plugin_name: ${{ github.event.repository.name }}
Expand Down Expand Up @@ -38,3 +40,7 @@ jobs:
with:
conventional_title: true
scopes: ${{ needs.scopes.outputs.scopes }}
Announcement:
uses: AstroNvim/.github/.github/workflows/discord_announcement.yml@main
if: ${{ github.event_name == 'release' }}
secrets: inherit

0 comments on commit d49eb95

Please sign in to comment.