From 0ebfe1ba68feedce937c108f45713eb15a20b8f9 Mon Sep 17 00:00:00 2001 From: diosmosis Date: Sun, 1 Oct 2023 19:01:02 -0700 Subject: [PATCH] Allow me (diosmosis) to release. --- .github/workflows/release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a28bbc258..c916c996f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,7 +1,7 @@ # Matomo Release Action -# +# # Required GitHub secrets: -# +# # RELEASE_PASSWORD | password that needs to be provided to start the action # GITHUB_TOKEN | github release token to publish # SVN_USERNAME | the svn username to publish a new plugin release @@ -46,7 +46,7 @@ jobs: script: | core.setFailed('Release password didn\'t match.') - name: "Check if user is allowed" - if: ${{ github.actor != 'mattab' && github.actor != 'tsteur' && github.actor != 'mattmary' && github.actor != 'justinvelluppillai' && github.actor != 'lance-matomo' }} + if: ${{ github.actor != 'mattab' && github.actor != 'tsteur' && github.actor != 'mattmary' && github.actor != 'justinvelluppillai' && github.actor != 'lance-matomo' && github.actor != 'diosmosis' }} uses: actions/github-script@v3 with: script: | @@ -74,7 +74,7 @@ jobs: echo "A tag for $tag_exists already exists." exit 1 fi - + echo "version=$version" >> $GITHUB_ENV - name: "Create release" uses: ncipollo/release-action@c4bf6c1ab090090498fb7f3ddc9f99ba5ab619b9 @@ -91,6 +91,6 @@ jobs: cd scripts ./deploy.sh $version ${{ secrets.SVN_USERNAME }} "${{ secrets.SVN_PASSWORD }}" cd .. - + echo "update=false" >> $GITHUB_OUTPUT shell: bash