Skip to content

Commit

Permalink
Merge pull request #63 from ergebnis/fix/environment
Browse files Browse the repository at this point in the history
Fix: Use environment variable to pass input to script
  • Loading branch information
localheinz authored Jan 24, 2022
2 parents fa6c904 + a5d008d commit 816ae9f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion actions/github/add-assignee-to-pull-request/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ runs:
- name: "Add assignee to pull request"
uses: "actions/github-script@v5"
env:
ASSIGNEE: "${{ inputs.assignee }}"
with:
github-token: "${{ inputs.github-token }}"
script: |
Expand All @@ -52,7 +54,7 @@ runs:
}
const assignees = [
core.getInput("assignee"),
process.env.ASSIGNEE,
];
try {
Expand Down

0 comments on commit 816ae9f

Please sign in to comment.