github.com/nektos/act@v0.2.63/pkg/runner/testdata/runs-on/push.yml (about)

     1  name: runs-on
     2  on: push
     3  
     4  jobs:
     5    test:
     6      runs-on: ubuntu-latest
     7      steps:
     8      - run: env
     9      - run: echo ${GITHUB_ACTOR} 
    10      - run: echo ${GITHUB_ACTOR} | grep nektos/act
    11  
    12    many:
    13      runs-on: [ubuntu-latest]
    14      steps:
    15        - run: env
    16        - run: echo ${GITHUB_ACTOR}
    17        - run: echo ${GITHUB_ACTOR} | grep nektos/act
    18  
    19    selfmany:
    20      runs-on: [self-hosted, ubuntu-latest]
    21      steps:
    22        - run: env
    23        - run: echo ${GITHUB_ACTOR}
    24        - run: echo ${GITHUB_ACTOR} | grep nektos/act