diff --git a/.github/workflows/auto_changelog.yml b/.github/workflows/auto_changelog.yml index 9b27d38e787..5e6716ad6d7 100644 --- a/.github/workflows/auto_changelog.yml +++ b/.github/workflows/auto_changelog.yml @@ -15,6 +15,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v7 + with: + ref: ${{ github.base_ref }} - name: Generate App Token id: app-token-generation diff --git a/.github/workflows/gbp.yml.disabled b/.github/workflows/gbp.yml.disabled index f5b14c69cf3..603e2d69f80 100644 --- a/.github/workflows/gbp.yml.disabled +++ b/.github/workflows/gbp.yml.disabled @@ -13,6 +13,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v7 + with: + ref: ${{ github.base_ref }} - name: Run Auto Labeler uses: actions/github-script@v9 with: @@ -41,6 +43,8 @@ jobs: - name: Checkout if: steps.value_holder.outputs.ACTIONS_ENABLED uses: actions/checkout@v7 + with: + ref: ${{ github.base_ref }} - name: Setup git if: steps.value_holder.outputs.ACTIONS_ENABLED run: |