This commit is contained in:
siritami
2024-03-18 15:39:42 +07:00
parent 36d760e17c
commit 893db90ed1
3 changed files with 30 additions and 17 deletions

View File

@@ -8,7 +8,7 @@ runs:
script: |
const maxRetries = ${{ env.max_retries }};
let retryCount = Number('${{ env.retry_count }}');
const orgInput = '${{ github.event.inputs.org }}' || '${{ inputs.org }}';
const orgInput = '${{ env.org_event_input }}' || '${{ env.org_input }}';
if (retryCount < maxRetries) {
retryCount += 1;
await github.rest.actions.createWorkflowDispatch({