Skip to content

Commit

Permalink
ENH Exclude GHA and dependabot PRs from being added to the board (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Aug 7, 2024
1 parent 8dc406c commit e73ee44
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ runs:
fi
# We don't want CMS Squad member PRs to clutter the project board
echo "Author is $PR_AUTHOR"
for squad_member in 'GuySartorelli' 'emteknetnz'; do
if [[ $PR_AUTHOR == $squad_member ]]; then
echo "Author is in CMS Squad. Skipping."
for ignore_user in 'dependabot[bot]' 'github-actions[bot]' 'GuySartorelli' 'emteknetnz'; do
if [[ $PR_AUTHOR == $ignore_user ]]; then
echo "Author is in CMS Squad or is a bot user. Skipping."
echo "should_add_to_project=false" >> $GITHUB_OUTPUT
exit 0
fi
Expand Down

0 comments on commit e73ee44

Please sign in to comment.