mirror of
https://github.com/EbookFoundation/free-programming-books.git
synced 2024-12-21 10:56:13 +00:00
1c016ad461
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
20 lines
642 B
YAML
20 lines
642 B
YAML
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
|