From 483322e18bd6fd710c8f0e36ecc3ee2962b51353 Mon Sep 17 00:00:00 2001 From: Marat Shakirov Date: Thu, 19 Dec 2024 13:33:30 +0100 Subject: [PATCH] fix: align checks --- .github/workflows/checks.yaml | 2 +- .github/workflows/release.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml index 82ce645..a78e8b7 100644 --- a/.github/workflows/checks.yaml +++ b/.github/workflows/checks.yaml @@ -1,7 +1,7 @@ name: branch on: - pull_request: + pull_request_target: types: - opened - synchronize diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 7baa55c..ee712bd 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -60,6 +60,9 @@ jobs: app_id: ${{ secrets.RELEASE_BOT_APP_ID }} private_key: ${{ secrets.RELEASE_BOT_PKEY }} - uses: actions/checkout@v4 + with: + fetch-depth: 0 + ref: ${{ github.head_ref }} - uses: actions/setup-node@v4 with: node-version: lts/*