Files
actions-playground/.gitea/workflows/input-test.yml
chase fd51b85b4f
All checks were successful
Action Input Test / test-input (push) Successful in 4s
Update .gitea/workflows/input-test.yml
2026-01-23 12:28:00 -05:00

29 lines
732 B
YAML

name: Action Input Test
on:
push:
branches: [ main ]
workflow_dispatch:
inputs:
mytext:
description: 'Input your text'
required: true
default: 'placeholder'
type: string
jobs:
test-input:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Print input to stdout
run: echo "The input was ${{ gitea.event.inputs.mytext }}"
- name: Never actually do this lmao
env:
SUPER_SECRET: ${{ secrets.foo }}
run: echo "$SUPER_SECRET"
- name: REALLY don't do this lmao
env:
SUPER_SECRET: ${{ secrets.foo }}
run: echo "$SUPER_SECRET" >> foo.txt && cat foo.txt