Skip to content

Commit

Permalink
ci: Fetch first commit that matches a pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
nfelt14 committed Sep 3, 2024
1 parent 58c79f5 commit c0e800b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/update-python-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@ jobs:
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 3
fetch-depth: 0
- name: Get commit message
id: get-commit-message
run: |
git log -5 --pretty=%B
commit_message="$(git log -2 --pretty=%B | sed -n '2p')"
commit_message="$(git log --grep='chore(python-deps):' -1 --pretty=%B)"
echo "commit-message=$commit_message" >> "$GITHUB_OUTPUT"
- name: Determine the groups that will need to be exported
id: set-output
Expand Down

0 comments on commit c0e800b

Please sign in to comment.