Commit 7a34e942 authored by tom's avatar tom

fix inputs reference

parent cef6341a
......@@ -244,7 +244,7 @@ jobs:
if: ${{ steps.label.outputs.id == 'null' && steps.has_labeled_issues.outputs.result == 'false' }}
env:
LABEL_NAME: ${{ steps.tags.outputs.latest }}
LABEL_COLOR: ${{ github.event.inputs.label_color }}
LABEL_COLOR: ${{ inputs.label_color }}
with:
script: |
const result = await github.request('POST /repos/{owner}/{repo}/labels', {
......
......@@ -54,9 +54,9 @@ jobs:
id: project_info
uses: actions/github-script@v6
env:
PROJECT_NAME: ${{ github.event.inputs.project_name }}
FIELD_NAME: ${{ github.event.inputs.field_name }}
FIELD_VALUE: ${{ github.event.inputs.field_value }}
PROJECT_NAME: ${{ inputs.project_name }}
FIELD_NAME: ${{ inputs.field_name }}
FIELD_VALUE: ${{ inputs.field_value }}
with:
github-token: ${{ secrets.BOT_LABEL_ISSUE_TOKEN }}
script: |
......@@ -137,7 +137,7 @@ jobs:
id: items
uses: actions/github-script@v6
env:
ISSUES: ${{ github.event.inputs.issues }}
ISSUES: ${{ inputs.issues }}
with:
github-token: ${{ secrets.BOT_LABEL_ISSUE_TOKEN }}
script: |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment