2020-09-05 16:28:15 +00:00
|
|
|
name: Check URLs from changed files
|
2020-08-26 02:50:12 +00:00
|
|
|
on: [push, pull_request]
|
2020-08-23 17:02:31 +00:00
|
|
|
jobs:
|
|
|
|
job:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-03-07 22:33:24 +00:00
|
|
|
- uses: actions/checkout@v3
|
2020-12-03 21:59:43 +00:00
|
|
|
- uses: trilom/file-changes-action@v1.2.4
|
2020-08-23 17:02:31 +00:00
|
|
|
id: file_changes
|
|
|
|
with:
|
|
|
|
output: ''
|
|
|
|
- uses: ruby/setup-ruby@v1
|
|
|
|
with:
|
2022-02-15 15:38:57 +00:00
|
|
|
ruby-version: 2.6
|
2020-08-23 17:02:31 +00:00
|
|
|
- run: gem install awesome_bot
|
2020-09-05 16:28:15 +00:00
|
|
|
- run: for i in ${{ steps.file_changes.outputs.files_modified }}; do echo; echo "processing $i"; awesome_bot $i --allow-redirect --allow-dupe --allow-ssl || true; done
|
2022-04-11 13:32:25 +00:00
|
|
|
- uses: actions/upload-artifact@v3
|
2020-09-05 16:28:15 +00:00
|
|
|
with:
|
|
|
|
path: ${{ github.workspace }}/*.json
|