18 lines
522 B
YAML
18 lines
522 B
YAML
name: checkout
|
|
inputs:
|
|
token:
|
|
description: A token to authenticate on behalf of the GitHub App installed on your repository.
|
|
default: ${{ gitea.token }}
|
|
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: Checkout
|
|
run: ${{ gitea.action_path }}/checkout.sh
|
|
env:
|
|
ACTION_REPOSITORY: ${{ gitea.repository }}
|
|
ACTION_REPOSITORY_OWNER: ${{ gitea.repository_owner }}
|
|
ACTION_SERVER_URL: ${{ gitea.server_url }}
|
|
ACTION_SHA: ${{ gitea.sha }}
|
|
ACTION_TOKEN: ${{ inputs.token }}
|