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:
@@ -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'
|
||||
|
Reference in New Issue
Block a user