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/*