Skip to content

Restrict User Who Can Run Workflow #2

Restrict User Who Can Run Workflow

Restrict User Who Can Run Workflow #2

name: Restrict User Who Can Run Workflow
on:
workflow_dispatch:
jobs:
build:
if: contains('["riprasa","lpoulter"]', github.actor)
runs-on: ubuntu-latest
steps:
- name: Print Github Actor
run: echo "${{ github.actor }}"