We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80186ae commit 5319070Copy full SHA for 5319070
1 file changed
action.yml
@@ -26,10 +26,10 @@ runs:
26
with:
27
python-version: '3.13'
28
29
- # Install dfetch if NOT running inside the dfetch repo
+ # Install dfetch from main if NOT running on a branch in the dfetch repo
30
- name: Install dfetch from GitHub
31
- if: ${{ github.repository != 'dfetch-org/dfetch' }}
32
- run: pip install git+https://github.com/dfetch-org/dfetch.git#egg=dfetch
+ if: ${{ github.repository != 'dfetch-org/dfetch' || github.ref_name == 'main' }}
+ run: pip install git+https://github.com/dfetch-org/dfetch.git@main#egg=dfetch
33
shell: bash
34
35
# Install dfetch locally if running inside the dfetch repo
0 commit comments