Prevent parallel workflows?

If you have a kubernetes cluster handy you can use my k8s-lock-action to protect your workflow from concurrent execution. Example usage:

on:
  push:
    branches:
      - master
name: Deployer
jobs:
  deploy-plz:
    runs-on: ubuntu-18.04
    steps:
    - name: Checkout
      uses: actions/checkout@v2
    - name: Lock workflow
      uses: directangular/k8s-lock-action@v1
      with:
        kube_config_data: ${{ secrets.KUBE_CONFIG_DATA }}
        lock_name: "my-deploy-lock"
    - name: Deploy  <-- this step is now protected from concurrent execution!
      uses: ./actions/deployer/