Skip to content

Commit

Permalink
Go back to two checkout actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
SpicyLemon committed Jul 29, 2024
1 parent 2d4a682 commit b060808
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,14 @@ jobs:
runs-on: ubuntu-latest
if: contains(github.event.pull_request.labels.*.name, 'dependencies')
steps:
- name: Checkout PR branch
- name: Checkout Target Branch
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.base.ref }}

- name: Checkout PR Branch
uses: actions/checkout@v4
with:
# Gotta get the whole thing so we can git diff later.
fetch-depth: 0
# Depending on your needs, you can use a token that will re-trigger workflows
# See https://github.com/stefanzweifel/git-auto-commit-action#commits-made-by-this-action-do-not-trigger-new-workflow-runs
token: ${{ secrets.BOT_CPR_PAT }}
Expand All @@ -35,6 +38,8 @@ jobs:
PR_BASE: ${{ github.event.pull_request.head.ref }}
PR_TARGET: ${{ github.event.pull_request.base.ref }}
run: |
git status
git branch
./scripts/dependabot-changelog.sh \
--verbose \
--pr "$PR_NUM" \
Expand Down

0 comments on commit b060808

Please sign in to comment.