sparta-science / cancel-on-screen-lock

Cancel workflow when Mac screen is locked

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cancel workflow when Mac screen is locked

Useful to cancel workflow early (before checkout) when self-hosted macOS runner has screen locked.

- name: Cancel on Screen Lock
  uses: sparta-science/cancel-on-screen-lock@v1
  with:
    repo-token: ${{ github.token }}

Use with UI Tests

Xcode UI Tests are unable to interact with the macOS or iOS apps when screen is locked. This action helps to abort early without triggering a failure.

About

Cancel workflow when Mac screen is locked

License:MIT License


Languages

Language:Swift 59.7%Language:Shell 40.3%