From 34afe04f51493e92b3b25a28eea0f43231619b98 Mon Sep 17 00:00:00 2001 From: Lars Berger Date: Wed, 14 Feb 2024 06:35:05 +0800 Subject: [PATCH] ci: fix client-only build step; add permissions for PR title check --- .github/workflows/build.yaml | 2 +- .github/workflows/pr-title-check.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 0e1e22d8..51c8baf5 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -58,7 +58,7 @@ jobs: sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf - run: pnpm i - - run: pnpm build --filter zebar --filter @zebar/client + - run: pnpm run --filter zebar --filter @zebar/client build - uses: tauri-apps/tauri-action@v0 id: tauri diff --git a/.github/workflows/pr-title-check.yaml b/.github/workflows/pr-title-check.yaml index 083b4ff8..e985d7f9 100644 --- a/.github/workflows/pr-title-check.yaml +++ b/.github/workflows/pr-title-check.yaml @@ -4,6 +4,9 @@ on: pull_request: types: [opened, edited, synchronize, reopened] +permissions: + pull-requests: write + jobs: pr-title-check: runs-on: ubuntu-latest