allow to set different github token.

This commit is contained in:
Jörg Thalheim 2022-01-13 08:46:19 +01:00 committed by Cole Helbling
parent e2447fec26
commit 0c7c875acc
2 changed files with 37 additions and 0 deletions

View file

@ -5,6 +5,10 @@ inputs:
description: 'A space-separated list of inputs to update. Leave empty to update all inputs.'
required: false
default: ''
token:
description: 'GITHUB_TOKEN or a `repo` scoped Personal Access Token (PAT)'
required: false
default: ${{ github.token }}
runs:
using: "composite"
steps:
@ -38,6 +42,7 @@ runs:
branch: update_flake_lock_action
delete-branch: true
title: "flake.lock: Update"
token: ${{ inputs.token }}
body: |
Automated changes by the [update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock) GitHub Action.