| github_token | Your secret password to the GitHub treasure chest 🗝️ | no | ${{ github.token }} |
| workflow | The secret code name for the workflow.
If not specified, we'll magically guess it or just use the current one 🎩✨
| no | — |
| workflow_conclusion | The desired outcome of your workflow – success, failure, or maybe even unicorn status 🦄
Learn more at: https://docs.github.com/en/free-pro-team@latest/rest/reference/actions#list-workflow-runs
| no | success |
| repo | The mysterious repository name with owner (like actions/checkout) | no | ${{ github.repository }} |
| pr | The secret pull request number 🕵️♂️ | no | — |
| commit | The magical commit hash 🔮 | no | — |
| branch | The branch that leads to your code adventure 🌳 | no | — |
| event | The type of mystical event that triggered all this magic 🎇 | no | — |
| run_id | The unique identifier for the magical workflow run 🏃♂️ | no | — |
| run_number | The enchanted run number 🔢 | no | — |
| name | The name of the artifact (download all artifacts if not specified) | no | — |
| name_is_regexp | Treat the artifact name as a spell-binding regular expression to match artifacts with magical names 🧙 | no | false |
| path | The mystical location where the artifact will materialize 🌌 | no | ./ |
| allow_forks | Allow forks or summon forked repositories 🍴 | no | true |
| check_artifacts | Check if your workflow run possesses any artifacts (spoiler alert, its like a treasure hunt) 🕵️♀️ | no | false |
| search_artifacts | Search for artifacts in the magical history of workflow runs 🕰️ | no | false |
| skip_unpack | Choose to skip unpacking the downloaded artifacts (who needs unpacking spells anyway?) 🧳 | no | false |
| dry_run | Perform a dry run to see if your artifacts are in the mood to play hide-and-seek 🤔🔍 | no | — |
| if_no_artifact_found | Choose how to exit the action if no artifact is found:
fail, warn, or just pretend nothing happened 🙈
| no | fail |