Revert "Made a minor change to actions.py"

This reverts commit 1f613e352622b9e1f1c02fc8d3b69d6bd0280182.