A simple Github Action to support my Minesweeper Game by checking for already running workflows.
Use it like this for example:
- name: Check for previous running workflows
id: check_previous_workflows
uses: agonyz/[email protected]
with:
workflow-id: 'main.yml'
github-token:
description: 'A personal access token or the github token with read-access for actions. If none is provided it will use the default github token.'
default: ${{ github.token }}
required: false
workflow-id:
description: 'The workflow id that this job should monitor. You can also use a filename like "main.yml".'
required: true
results-per-page:
description: 'The number of workflow runs to retrieve per page.'
default: '10'
required: false
You need to specify the following permission scopes for this action to work correctly:
permissions:
contents: read
actions: read