From a2316c4440dc0256bc9e58a4d01ce43054d2d416 Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Fri, 22 Mar 2024 11:23:22 +0100 Subject: [PATCH] feat: enable CI in PRs Signed-off-by: Sefa Eyeoglu --- .github/workflows/package.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index de7554c..f13f544 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -11,6 +11,9 @@ on: paths: - "themes/**" - "icons/**" + pull_request: + branches: + - main jobs: package: @@ -36,6 +39,7 @@ jobs: uses: softprops/action-gh-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + if: ${{ env.GITHUB_TOKEN != '' }} with: name: ${{ env.DISPLAY_NAME }} tag_name: ${{ env.TAG_NAME }}