migrate gallery share test to use actions
Merge pull request #1303 from sashakruglov/issue_1217_gallery

migrate gallery share test to use actions