Add a token from the action input

This commit is contained in:
2024-03-11 12:25:19 +01:00
parent 8f676ccb15
commit e23690e18d
3 changed files with 38 additions and 3 deletions
+4
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'