X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/50cfc0a95cb5cedda0f8043f754a26afafe0a9db..f051a7c1f5d1999558caa9d3cbe8c36f8ac39c9b:/.github/workflows/danger.yml?ds=sidebyside diff --git a/.github/workflows/danger.yml b/.github/workflows/danger.yml index 8999fca5b..6da5e7164 100644 --- a/.github/workflows/danger.yml +++ b/.github/workflows/danger.yml @@ -22,6 +22,12 @@ jobs: ruby-version: 3.1 rubygems: 3.4.10 bundler-cache: true + - name: Create base branch + run: | + git fetch ${{ github.event.pull_request.base.repo.clone_url }} ${{ github.event.pull_request.base.sha }}:danger_base + - name: Create head branch + run: | + git fetch ${{ github.event.pull_request.head.repo.clone_url }} ${{ github.event.pull_request.head.sha }}:danger_head - name: Danger env: DANGER_GITHUB_BEARER_TOKEN: ${{ secrets.GITHUB_TOKEN }}