|
|
|
@ -144,7 +144,7 @@ jobs:
|
|
|
|
- name: 'Checkout PR branch'
|
|
|
|
- name: 'Checkout PR branch'
|
|
|
|
if: |-
|
|
|
|
if: |-
|
|
|
|
${{ steps.get_context.outputs.is_pr == 'true' }}
|
|
|
|
${{ steps.get_context.outputs.is_pr == 'true' }}
|
|
|
|
uses: 'actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd' # ratchet:actions/checkout@v4
|
|
|
|
uses: 'actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8' # ratchet:actions/checkout@v4
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
token: '${{ steps.generate_token.outputs.token || secrets.GITHUB_TOKEN }}'
|
|
|
|
token: '${{ steps.generate_token.outputs.token || secrets.GITHUB_TOKEN }}'
|
|
|
|
repository: '${{ github.repository }}'
|
|
|
|
repository: '${{ github.repository }}'
|
|
|
|
@ -154,7 +154,7 @@ jobs:
|
|
|
|
- name: 'Checkout main branch'
|
|
|
|
- name: 'Checkout main branch'
|
|
|
|
if: |-
|
|
|
|
if: |-
|
|
|
|
${{ steps.get_context.outputs.is_pr == 'false' }}
|
|
|
|
${{ steps.get_context.outputs.is_pr == 'false' }}
|
|
|
|
uses: 'actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd' # ratchet:actions/checkout@v4
|
|
|
|
uses: 'actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8' # ratchet:actions/checkout@v4
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
token: '${{ steps.generate_token.outputs.token || secrets.GITHUB_TOKEN }}'
|
|
|
|
token: '${{ steps.generate_token.outputs.token || secrets.GITHUB_TOKEN }}'
|
|
|
|
repository: '${{ github.repository }}'
|
|
|
|
repository: '${{ github.repository }}'
|
|
|
|
|