JIRA pr check: Filter out OSS/ENT merges (#16593)

* jira pr check filter out dependabot and oss/ent merges
This commit is contained in:
David Yu 2023-03-09 14:29:39 -08:00 committed by GitHub
parent fa93a0d4f7
commit 40312ac072
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -41,6 +41,12 @@ jobs:
if [[ -n ${ROLE} ]]; then
echo "Actor ${{ github.actor }} is a ${TEAM} team member"
echo "MESSAGE=true" >> $GITHUB_OUTPUT
elif [[ "${{ contains(github.actor, 'hc-github-team-consul-core') }}" == "true" ]]; then
echo "Actor ${{ github.actor }} is a ${TEAM} team member"
echo "MESSAGE=true" >> $GITHUB_OUTPUT
elif [[ "${{ contains(github.actor, 'dependabot') }}" == "true" ]]; then
echo "Actor ${{ github.actor }} is a ${TEAM} team member"
echo "MESSAGE=true" >> $GITHUB_OUTPUT
else
echo "Actor ${{ github.actor }} is NOT a ${TEAM} team member"
echo "MESSAGE=false" >> $GITHUB_OUTPUT