Skip to content

Commit 8981f08

Browse files
committed
Move permissions to correct workflow
1 parent f8fe098 commit 8981f08

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ on:
1111
branches:
1212
- main
1313

14-
permissions:
15-
contents: read
16-
packages: read
17-
1814
jobs:
1915
build:
2016
name: 👷 Build Github Actions Enhanced
@@ -63,6 +59,8 @@ jobs:
6359
if: github.ref_type == 'tag'
6460
needs: build
6561
runs-on: ubuntu-latest
62+
permissions:
63+
contents: write # Needed for release preparation
6664
steps:
6765
- name: ✔️ Verify Tag is in CalVer Format and Current
6866
shell: pwsh

.github/workflows/release.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ name: 🚀 Release
33
on:
44
release:
55
types: [published]
6-
permissions:
7-
contents: write
86
jobs:
97
publish:
108
name: 🚀 Publish to VS Code Marketplace

0 commit comments

Comments
 (0)