From 68871f5cd6a1f22fd66caca00f82e5c7eb0ea9c3 Mon Sep 17 00:00:00 2001 From: Josh Spicer Date: Mon, 7 Oct 2024 08:54:19 -0700 Subject: [PATCH] Add 'contents: write' permission to release workflow (#1142) I suspect this will fix the git tagging issue reported in https://github.com/devcontainers/features/issues/1122 --- .github/workflows/release.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 22297641a..6890f5ae5 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -11,6 +11,7 @@ jobs: runs-on: ubuntu-latest permissions: packages: write + contents: write steps: - uses: actions/checkout@v4 @@ -20,4 +21,4 @@ jobs: publish-features: "true" base-path-to-features: "./src" env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}