Skip to content

Commit

Permalink
action.yml: add specific unverified-commits label
Browse files Browse the repository at this point in the history
  • Loading branch information
thypon committed Dec 6, 2023
1 parent f10997f commit ca126ec
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,12 @@ runs:
set -x
echo "result=true" >> $GITHUB_OUTPUT
- uses: actions-ecosystem/action-add-labels@18f1af5e3544586314bbe15c0273249c770b2daf # v1.1.3
if: ${{ (steps.reviewdog-enabled-pr.outputs.result == 'true' && steps.should-trigger.outputs.result == 'true') || steps.unverified-commits.outputs.result == '"UNVERIFIED-CHANGED"' }}
if: ${{ steps.unverified-commits.outputs.result == '"UNVERIFIED-CHANGED"' }}
with:
github_token: ${{ inputs.github_token }}
labels: unverified-commits
- uses: actions-ecosystem/action-add-labels@18f1af5e3544586314bbe15c0273249c770b2daf # v1.1.3
if: ${{ (steps.reviewdog-enabled-pr.outputs.result == 'true' && steps.should-trigger.outputs.result == 'true') }}
with:
github_token: ${{ inputs.github_token }}
labels: needs-security-review
Expand Down

0 comments on commit ca126ec

Please sign in to comment.