Skip to content

Commit a46b1dc

Browse files
committed
👷 Restore standalone Release Drafter workflow and lower CI permissions
1 parent ff5f805 commit a46b1dc

3 files changed

Lines changed: 21 additions & 7 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,10 @@ on:
1212

1313
permissions:
1414
actions: read
15-
contents: write
15+
contents: read
1616
packages: read
17-
pull-requests: read
1817
security-events: write
1918

2019
jobs:
2120
workflows:
22-
uses: hassio-addons/workflows/.github/workflows/base-ci.yaml@3846ae0fd09acec8ac1ac308ceacd052b9d01bec # v2.0.6
21+
uses: hassio-addons/workflows/.github/workflows/base-ci.yaml@383c10d83acbe341acbb35a4a61bfd14827f00f0 # v3.0.0

.github/workflows/deploy.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,14 @@ jobs:
1414
ci:
1515
permissions:
1616
actions: read
17-
contents: write
17+
contents: read
1818
packages: read
19-
pull-requests: read
2019
security-events: write
21-
uses: hassio-addons/workflows/.github/workflows/base-ci.yaml@3846ae0fd09acec8ac1ac308ceacd052b9d01bec # v2.0.6
20+
uses: hassio-addons/workflows/.github/workflows/base-ci.yaml@383c10d83acbe341acbb35a4a61bfd14827f00f0 # v3.0.0
2221

2322
deploy:
2423
needs: ci
2524
permissions:
2625
contents: read
2726
packages: write
28-
uses: hassio-addons/workflows/.github/workflows/base-deploy.yaml@3846ae0fd09acec8ac1ac308ceacd052b9d01bec # v2.0.6
27+
uses: hassio-addons/workflows/.github/workflows/base-deploy.yaml@383c10d83acbe341acbb35a4a61bfd14827f00f0 # v3.0.0
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: Release Drafter
3+
4+
# yamllint disable-line rule:truthy
5+
on:
6+
push:
7+
branches:
8+
- main
9+
10+
permissions:
11+
contents: write
12+
pull-requests: read
13+
14+
jobs:
15+
workflows:
16+
uses: hassio-addons/workflows/.github/workflows/release-drafter.yaml@383c10d83acbe341acbb35a4a61bfd14827f00f0 # v3.0.0

0 commit comments

Comments
 (0)