Skip to content

Commit

Permalink
Add workflow that releases the plugins for the same tag
Browse files Browse the repository at this point in the history
  • Loading branch information
SimplyDanny committed Jun 19, 2024
1 parent 5b2f3a4 commit 61e92fe
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/plugins-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Plugins Release

on:
release:
types: [released]

jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- name: Dispatch release of plugins package
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.SIMPLYDANNY_PLUGINS_SYNC }}
repository: SimplyDanny/SwiftLintPlugins
event-type: swiftlint-release
client-payload: '{"title": "${{ github.event.release.name }}", "tag": "${{ github.ref_name }}"}'

0 comments on commit 61e92fe

Please sign in to comment.