Skip to content

Commit

Permalink
make sure action doesn't create pycache file
Browse files Browse the repository at this point in the history
  • Loading branch information
billbrod committed Dec 5, 2024
1 parent c74f291 commit 3b763fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/remove_prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ jobs:
sudo apt-get install -y jq curl
curl https://raw.githubusercontent.com/newren/git-filter-repo/main/git-filter-repo -o ../git-filter-repo.py
- name: Remove PRs
run: python scripts/remove_closed_prs.py -g --cmd "python ../git-filter-repo.py"
# necessary to stop a creation of __pycache__/*pyc when running this script
run: PYTHONDONTWRITEBYTECODE=1 python scripts/remove_closed_prs.py -g --cmd "python ../git-filter-repo.py"
- name: Push back to origin
shell: bash
run: |
Expand Down

0 comments on commit 3b763fd

Please sign in to comment.