We can do something like this to run the "push" to IPFS.
# Conditional step that runs only if it's a PR against the main branch
- name: Conditional step for PR against main
if: ${{ github.event_name == 'pull_request' && github.base_ref == 'main' }}
run: |
echo "This step runs only for PRs against the main branch"
We can do something like this to run the "push" to IPFS.