mirror of
https://github.com/EbookFoundation/free-programming-books.git
synced 2025-09-01 19:52:43 +02:00
build: changed name of 'main.yml' workflow to 'checkurls.yml' (#6984)
This commit is contained in:
19
.github/workflows/check-urls.yml
vendored
Normal file
19
.github/workflows/check-urls.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
name: Check URLs from changed files
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
job:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: trilom/file-changes-action@v1.2.4
|
||||
id: file_changes
|
||||
with:
|
||||
output: ''
|
||||
- uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: 2.6
|
||||
- run: gem install awesome_bot
|
||||
- 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
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
path: ${{ github.workspace }}/*.json
|
||||
Reference in New Issue
Block a user