From 17324da23fadb2931592cbd21871d0999dbc950c Mon Sep 17 00:00:00 2001 From: pyth0n1c <87383215+pyth0n1c@users.noreply.github.com> Date: Fri, 17 Mar 2023 10:58:07 -0700 Subject: [PATCH] Allow us to commit/write back to the branch given the permissions changes when we have tagged to create a release. --- .github/workflows/build-and-validate.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build-and-validate.yml b/.github/workflows/build-and-validate.yml index e55c4ff726..f9258c1c6a 100644 --- a/.github/workflows/build-and-validate.yml +++ b/.github/workflows/build-and-validate.yml @@ -288,6 +288,9 @@ jobs: update-sources-github: runs-on: ubuntu-latest + permissions: + # Need the write permission because this job commits changes to some folders like dist + contents: write needs: [validate-and-build, run-appinspect, create-report] #Only run when tagged if: startsWith(github.ref, 'refs/tags/')