Commit 7a34e942 authored by tom's avatar tom

fix inputs reference

parent cef6341a
...@@ -244,7 +244,7 @@ jobs: ...@@ -244,7 +244,7 @@ jobs:
if: ${{ steps.label.outputs.id == 'null' && steps.has_labeled_issues.outputs.result == 'false' }} if: ${{ steps.label.outputs.id == 'null' && steps.has_labeled_issues.outputs.result == 'false' }}
env: env:
LABEL_NAME: ${{ steps.tags.outputs.latest }} LABEL_NAME: ${{ steps.tags.outputs.latest }}
LABEL_COLOR: ${{ github.event.inputs.label_color }} LABEL_COLOR: ${{ inputs.label_color }}
with: with:
script: | script: |
const result = await github.request('POST /repos/{owner}/{repo}/labels', { const result = await github.request('POST /repos/{owner}/{repo}/labels', {
......
...@@ -54,9 +54,9 @@ jobs: ...@@ -54,9 +54,9 @@ jobs:
id: project_info id: project_info
uses: actions/github-script@v6 uses: actions/github-script@v6
env: env:
PROJECT_NAME: ${{ github.event.inputs.project_name }} PROJECT_NAME: ${{ inputs.project_name }}
FIELD_NAME: ${{ github.event.inputs.field_name }} FIELD_NAME: ${{ inputs.field_name }}
FIELD_VALUE: ${{ github.event.inputs.field_value }} FIELD_VALUE: ${{ inputs.field_value }}
with: with:
github-token: ${{ secrets.BOT_LABEL_ISSUE_TOKEN }} github-token: ${{ secrets.BOT_LABEL_ISSUE_TOKEN }}
script: | script: |
...@@ -137,7 +137,7 @@ jobs: ...@@ -137,7 +137,7 @@ jobs:
id: items id: items
uses: actions/github-script@v6 uses: actions/github-script@v6
env: env:
ISSUES: ${{ github.event.inputs.issues }} ISSUES: ${{ inputs.issues }}
with: with:
github-token: ${{ secrets.BOT_LABEL_ISSUE_TOKEN }} github-token: ${{ secrets.BOT_LABEL_ISSUE_TOKEN }}
script: | 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