This commit is contained in:
Charles Bochet
2023-07-05 09:09:29 +02:00
parent 9c09da18db
commit c86e548088

View File

@ -9,8 +9,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
if: github.head_ref == 'main'
with:
ref: ${{ github.head_ref || github.ref_name }}
- uses: actions/checkout@v3
if: github.head_ref != 'main'
with:
ref: "refs/pull/${{ github.event.number }}/merge"
- name: Setup Node.js
uses: actions/setup-node@v3
with: