Skip to content

Commit

Permalink
JIRA pr check: Filter out OSS/ENT merges (#16593)
Browse files Browse the repository at this point in the history
* jira pr check filter out dependabot and oss/ent merges
  • Loading branch information
David Yu authored Mar 9, 2023
1 parent fa93a0d commit 40312ac
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/jira-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 40312ac

Please sign in to comment.