Skip to content

Commit

Permalink
Update filter-files.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Velythyl authored Nov 20, 2023
1 parent ba300a8 commit 5f5698d
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/filter-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,16 @@ jobs:
echo $FILTEROUT
echo "offendingfiles=$FILTEROUT" >> $GITHUB_OUTPUT
python3 bin/filterpaths.py $SLUG ${{ steps.filter.outputs.changed_files }}
- uses: actions/github-script@v6
if: always() && steps.pythonfilter.outcome == 'failure'
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: "⚠️ **We have detected a problem with your submission!** ⚠️\n\n${{ steps.pythonfilter.outputs.offendingfiles }}\n\nPlease make the aforementioned changes and re-submit :)"
})
#- uses: actions/github-script@v6
# if: always() && steps.pythonfilter.outcome == 'failure'
# with:
# script: |
# github.rest.issues.createComment({
# issue_number: context.issue.number,
# owner: context.repo.owner,
# repo: context.repo.repo,
# body: "⚠️ **We have detected a problem with your submission!** ⚠️\n\n${{ steps.pythonfilter.outputs.offendingfiles }}\n\nPlease make the aforementioned changes and re-submit :)"
# })
- name: Setup Ruby
# if: steps.pythonfilter.outcome == 'success'
uses: ruby/setup-ruby@v1
Expand Down

0 comments on commit 5f5698d

Please sign in to comment.