mirror of
https://github.com/actions/runner.git
synced 2026-03-24 04:13:12 +08:00
14 lines
358 B
YAML
14 lines
358 B
YAML
name: 'Action With Invalid Context'
|
|
description: 'Docker action that uses github context in env (only inputs is allowed)'
|
|
inputs:
|
|
my-input:
|
|
description: 'A test input'
|
|
required: false
|
|
default: 'hello'
|
|
runs:
|
|
using: 'docker'
|
|
image: 'Dockerfile'
|
|
env:
|
|
VALID: '${{ inputs.my-input }}'
|
|
INVALID: '${{ github.event.repository.private }}'
|