Skip to content

Commit f207c5f

Browse files
chore: update workflow and Discord RPC migration integration (#73)
1 parent a1991d1 commit f207c5f

7 files changed

Lines changed: 947 additions & 419 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
# main → increment RELEASE (1st digit), reset BETA/ALPHA/BUILD to 0, tag release/X.0.0.0
5656
- name: Bump version
5757
id: bump
58-
if: github.event_name == 'push' && github.ref_name != 'uat'
58+
if: github.event_name == 'push' && github.ref_name != 'uat' && github.actor != 'dependabot[bot]'
5959
run: |
6060
# Read the 4-part display version from extraMetadata
6161
EXT_VERSION=$(node -p "require('./package.json').build.extraMetadata.version")
@@ -105,7 +105,7 @@ jobs:
105105
# Push the version bump commit AFTER tests pass so a failed test doesn't
106106
# advance the version counter.
107107
- name: Commit and push version bump
108-
if: github.event_name == 'push' && github.ref_name != 'uat' && steps.bump.outputs.new-version != ''
108+
if: github.event_name == 'push' && github.ref_name != 'uat' && github.actor != 'dependabot[bot]' && steps.bump.outputs.new-version != ''
109109
run: |
110110
NEW_VERSION="${{ steps.bump.outputs.new-version }}"
111111
git config user.name "github-actions[bot]"
@@ -117,7 +117,7 @@ jobs:
117117
118118
# On main: create a release tag after the version bump commit is pushed.
119119
- name: Tag release
120-
if: github.event_name == 'push' && github.ref_name == 'main' && steps.bump.outputs.new-version != ''
120+
if: github.event_name == 'push' && github.ref_name == 'main' && github.actor != 'dependabot[bot]' && steps.bump.outputs.new-version != ''
121121
run: |
122122
TAG="release/${{ steps.bump.outputs.new-version }}"
123123
git tag "$TAG"

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ OBS Studio and Discord support are distributed as separate `.sdPlugin` packages.
8787
| Plugin | Actions | Requires |
8888
|--------|---------|----------|
8989
| **OBS Studio** (`obs-plugin/`) | Toggle record, toggle stream, pause recording, replay buffer, switch scene, switch collection, source visibility, mute, media control, studio mode, filter toggle, screenshot, transition, chapter marker | OBS WebSocket |
90-
| **Discord** (`discord-plugin/`) | Push-to-Talk, Mute, Deafen | `xdotool` |
90+
| **Discord** (`discord-plugin/`) | Mute, Deafen, Push-to-Talk, Push-to-Mute, channel switching via Discord RPC | Discord desktop app + Discord developer app credentials |
9191

9292
---
9393

@@ -129,7 +129,7 @@ OBS Studio and Discord support are distributed as separate `.sdPlugin` packages.
129129
> | Plugin | Extra setup required |
130130
> |--------|---------------------|
131131
> | **OBS Studio** | Open OBS → **Tools → WebSocket Server Settings** → enable the server (default port **4455**). The plugin auto-connects and retries every 5 s. |
132-
> | **Discord** | Ensure `xdotool` is installed (`sudo apt install xdotool`). Open Discord and configure your Push-to-Talk / Mute / Deafen keys there. |
132+
> | **Discord** | Open Discord desktop app. In the Property Inspector, provide your Discord Developer Application `client_id` and `client_secret`, authorize RPC access, then select channels where needed. |
133133
>
134134
> To uninstall a plugin, delete its folder from `~/.config/tech-stack-streamdeck/plugins/` and restart the app.
135135
@@ -224,8 +224,10 @@ The Scene, Scene Collection, Source, Input, and Transition pickers in the Proper
224224
### Discord plugin
225225

226226
1. Install the plugin (see [Installing a plugin](#installing-a-plugin) above)
227-
2. Ensure `xdotool` is installed (`sudo apt install xdotool`)
228-
3. Open Discord and assign Push-to-Talk / Mute / Deafen to buttons
227+
2. Open Discord desktop app
228+
3. In the button's Property Inspector, enter Discord application `client_id` and `client_secret`
229+
4. Click **Authorize** and approve the Discord prompt
230+
5. For voice/text channel actions, pick a guild and channel from the inspector dropdowns
229231

230232
---
231233

0 commit comments

Comments
 (0)