Skip to content

Commit 5a61c75

Browse files
committed
add permissions to workflows
1 parent 259935d commit 5a61c75

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.github/workflows/release-beta.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ name: Release (Beta)
99
on:
1010
push:
1111
branches: [beta-*.*.*]
12-
workflow_dispatch:
12+
13+
permissions:
14+
contents: read
1315

1416
jobs:
1517
eslint:

.github/workflows/release-latest.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
release:
1010
types: [published]
1111

12+
permissions:
13+
contents: write
14+
1215
jobs:
1316
eslint:
1417
uses: homebridge/.github/.github/workflows/eslint.yml@latest

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ All notable changes to homebridge-ewelink will be documented in this file.
77
### Other Changes
88

99
- fix plugin name in release workflow
10+
- add permissions to workflows
1011

1112
## v12.5.0 (2025-07-12)
1213

0 commit comments

Comments
 (0)