Skip to content

Commit

Permalink
fix(ci): use current PR's branch
Browse files Browse the repository at this point in the history
As we don't have the required checks anymore, this will only ever be
executed on the PR and therefore work without having to fall back to the
default_branch
  • Loading branch information
cwrau committed Aug 23, 2023
1 parent d95087f commit 8ba9bdf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/validate-and-label-pullrequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.repository.default_branch }}
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}

- uses: helm/[email protected]
- run: .github/scripts/validate-and-label-pullrequest.sh
Expand Down

0 comments on commit 8ba9bdf

Please sign in to comment.