ci(fork-sync): add hint that it can be disabled

This commit is contained in:
ThinkChaos 2024-04-02 16:01:44 -04:00
parent 75c2a6f9f6
commit c56f0f91ca
1 changed files with 6 additions and 1 deletions

View File

@ -26,7 +26,12 @@ jobs:
else
echo "enabled=0" >> $GITHUB_OUTPUT
echo "Workflow is disabled(create FORK_SYNC_TOKEN secret with repo write permission to enable it)"
(
echo 'Workflow is disabled (create `FORK_SYNC_TOKEN` secret with repo write permission to enable it)'
echo
echo 'Alternatively, you can disable it for your repo from the web UI:'
echo 'https://docs.github.com/en/actions/using-workflows/disabling-and-enabling-a-workflow'
) | tee "$GITHUB_STEP_SUMMARY"
fi
- name: Sync