Skip to content

Commit

Permalink
Merge pull request #3 from andresilva/feat/override-token
Browse files Browse the repository at this point in the history
feat: allow overriding github token
  • Loading branch information
selfuryon authored Oct 30, 2024
2 parents 6294f19 + 9bbc229 commit 21ef9cc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
name: 'nix-update action'
description: 'A GitHub action that detects and updates flake outputs via nix-update tool'
inputs:
token:
description: 'The token that the action will use to create and update the pull request.'
default: ${{ github.token }}
packages:
description: 'A space-separated list of inputs to update. Leave empty to update all inputs.'
required: false
Expand Down Expand Up @@ -130,12 +133,11 @@ runs:
id: create-pr
uses: peter-evans/create-pull-request@v4
with:
token: ${{ inputs.token }}
branch: ${{ inputs.branch }}
delete-branch: true
title: ${{ inputs.pr-title }}
assignees: ${{ inputs.pr-assignees }}
labels: ${{ inputs.pr-labels }}
reviewers: ${{ inputs.pr-reviewers }}
body: ${{ inputs.pr-body }}


0 comments on commit 21ef9cc

Please sign in to comment.