Allow to set a token from input (#1)

Reviewed-on: #1
Co-authored-by: Julien Fastré <julien.fastre@champs-libres.coop>
Co-committed-by: Julien Fastré <julien.fastre@champs-libres.coop>
This commit is contained in:
2024-03-11 11:26:05 +00:00
committed by Julien Fastré
parent 8f676ccb15
commit 3e47a24f8d
3 changed files with 38 additions and 3 deletions

View File

@@ -4,6 +4,9 @@ runs:
using: 'go'
main: 'main.go'
inputs:
token:
description: 'Access token which allow to create pull requests'
default: ${{ github.token }}
title:
required: false
description: The title of the pull request
@@ -23,6 +26,7 @@ inputs:
head:
description: >
The pull request head branch (the one within the new code is developed).
outputs:
pull-request-number:
description: 'The pull request number'