Skip to content

Commit

Permalink
replace changed files action with git diff
Browse files Browse the repository at this point in the history
  • Loading branch information
Katherine Fairchild committed Oct 13, 2023
1 parent 62cda76 commit 15a958e
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/score_new_plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,12 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@v2

- name: Get changed files
uses: dorny/[email protected]
id: filter
with:
list-files: shell
filters: |
changed:
- '**'
fetch-depth: 0

- name: Save changed files to env var
run: echo "CHANGED_FILES=${{ steps.filter.outputs.changed_files }}" >> $GITHUB_ENV

run: echo "CHANGED_FILES=$(git diff --name-only origin/main origin/$GITHUB_HEAD_REF | tr '\n' ' ')" >> $GITHUB_ENV
- name: Get scoring info
run: |
python -m pip install .
Expand Down

0 comments on commit 15a958e

Please sign in to comment.