Skip to content

Commit

Permalink
amend github actoin
Browse files Browse the repository at this point in the history
  • Loading branch information
nowgnas committed Nov 3, 2024
1 parent 3b2f96f commit 6b3d7ae
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/summarize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,8 @@ jobs:
- name: Get Changed Files
id: get_files
run: |
# Get the base branch of the PR
BASE_BRANCH=${{ github.event.pull_request.base.ref }}
echo "Base branch: $BASE_BRANCH"
# Get the changed files between the PR branch and the base branch
CHANGED_FILES=$(git diff --name-only origin/$BASE_BRANCH...HEAD)
CHANGED_FILES=$(git diff --name-only ${{ github.event.before }} ${{ github.sha }})
# Filter the changed files for the desired pattern
FILTERED_FILES=$(echo "$CHANGED_FILES" | grep -E 'week[0-9]+/.*_link\.md$')
Expand Down

0 comments on commit 6b3d7ae

Please sign in to comment.