Skip to content

Commit

Permalink
sync-from-fork.yml: add the whole resources directory
Browse files Browse the repository at this point in the history
  • Loading branch information
thypon committed Nov 8, 2024
1 parent 0d9ddf5 commit 793f8ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sync-from-fork.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
git remote add upstream ${UPSTREAM_URL}
git fetch upstream
FILES_TO_CHECK=("assets/assets.json" "assets/resources/scriptlets.js" "src/web_accessible_resources" "src/js/redirect-resources.js")
FILES_TO_CHECK=("assets/assets.json" "assets/resources" "src/web_accessible_resources" "src/js/redirect-resources.js")
for files in ${FILES_TO_CHECK[*]}; do
echo '```diff' >> changes.txt;
git diff --diff-filter AM HEAD..remotes/upstream/master -- $files >> changes.txt;
Expand All @@ -83,7 +83,7 @@ jobs:
prnum: ${{ env.PR_NUMBER }}
github_token: ${{ secrets.GITHUB_TOKEN }}
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
filterdiff_args: --include=**/assets/assets.json --include=**/assets/resources/scriptlets.js --include=**/web_accessible_resources/ --include=**/js/redirect-resources.js
filterdiff_args: --include=**/assets/assets.json --include=**/assets/resources/ --include=**/web_accessible_resources/ --include=**/js/redirect-resources.js
on-failure:
runs-on: ubuntu-latest
if: ${{ always() && (needs.sync.result == 'failure' || needs.create-pr.result == 'failure' || needs.update-pr.result == 'failure') }}
Expand Down

0 comments on commit 793f8ec

Please sign in to comment.