Skip to content

Commit

Permalink
remove needs copied from #1465
Browse files Browse the repository at this point in the history
  • Loading branch information
trajan0x committed Oct 20, 2023
1 parent 5ce64d2 commit d13549c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/actions/add-label/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: Add Label
description: Add a label to the issue or pull request
inputs:
issue_number:
description: 'The issue number to associate with. Defaults to the current issue or pull request number used to trigger the action.'
description: "The issue number to associate with. Defaults to the current issue or pull request number used to trigger the action."
required: false
default: ''
default: ""
label:
description: 'The label to add.'
description: "The label to add."
required: true

runs:
Expand All @@ -32,7 +32,6 @@ runs:

- name: Add Label
uses: actions/github-script@v6
if: ${{ !contains(fromJson(needs.pr_metadata.outputs.labels), format('needs-go-generate-{0}', matrix.package)) && steps.verify-changed-files.outputs.files_changed == 'true' }}
with:
script: |
github.rest.issues.addLabels({
Expand Down

0 comments on commit d13549c

Please sign in to comment.