Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
cbusillo committed Jun 10, 2024
1 parent b9273b5 commit 33ae1ff
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/briefcase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,11 @@ jobs:
- name: Get commit messages
id: get_commit_messages
run: |
EXCLUDED_PATTERNS=$(echo "$EXCLUDED_MESSAGES" | tr '\n' '|' | sed 's/|$//')
MESSAGES=$(git log --pretty=format:"%s" | grep -vE "${EXCLUDED_PATTERNS}" | awk '!seen[$0]++')
EXCLUDED_PATTERNS=$(echo "$EXCLUDED_MESSAGES" | head -c -1 | tr '\n' '|' | sed 's/|$//')
echo "Excluded patterns: $EXCLUDED_PATTERNS"
MESSAGES=$(git log --pretty=format:"%s" | grep -vE "$EXCLUDED_PATTERNS" | awk '!seen[$0]++')
echo "Messages: $MESSAGES"
echo "MESSAGES=${MESSAGES}" >> $GITHUB_ENV
- name: Debug print MESSAGES
run: |
echo "Commit messages: $MESSAGES"
- name: Set up Python
uses: actions/setup-python@v5
with:
Expand Down

0 comments on commit 33ae1ff

Please sign in to comment.