Skip to content

Commit

Permalink
remove duplicate statement
Browse files Browse the repository at this point in the history
  • Loading branch information
sumanthreddy29 committed Mar 5, 2024
1 parent fbd461c commit 7ac2e6d
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions .github/workflows/get-changed-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,21 @@ jobs:
runs-on: ubuntu-latest
name: Setup test matrix scenarios
steps:
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: ${{ github.event_name == 'pull_request' && 2 || 0 }}
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: ${{ github.event_name == 'pull_request' && 2 || 0 }}

- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v42
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v42
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: List all changed files
env:
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
for file in ${ALL_CHANGED_FILES}; do
echo "$file was changed"
done
- name: List all changed files
env:
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
for file in ${ALL_CHANGED_FILES}; do
echo "$file was changed"
done

0 comments on commit 7ac2e6d

Please sign in to comment.