Skip to content

Conversation

@chrisgavin
Copy link
Contributor

It seems like in some cases this script gets analyzed. We can either remove it after running it, or just not save it at all.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.

@chrisgavin
Copy link
Contributor Author

chrisgavin commented Dec 22, 2020

I've verified that this does fix the extraction of get-pip.py. The Action previously output these lines which are gone when running it with this branch:

  [2020-12-22 14:31:21] [build] [INFO] [2] Extracted file /home/runner/work/py2004/py2004/get-pip.py in 774ms
  [2020-12-22 14:31:21] [build] [INFO] [2] Extracted file /home/runner/work/py2004/py2004/get-pip.py in 774ms

(Also a bunch of other imports of get-pip.py are no longer extracted too! 🎉)

@chrisgavin chrisgavin merged commit 094554c into main Dec 22, 2020
@chrisgavin chrisgavin deleted the prevent-accidental-analysis-of-get-pip branch December 22, 2020 14:48
@github-actions github-actions bot mentioned this pull request Dec 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants