Compare commits
1 Commits
3ada5e4236
...
564c1b2d6e
Author | SHA1 | Date |
---|---|---|
Srish Bansal | 564c1b2d6e |
|
@ -74,17 +74,14 @@ jobs:
|
|||
fail-fast: false
|
||||
steps:
|
||||
- name: Checkout
|
||||
if: ${{ endsWith(matrix.file, '.yml') || endsWith(matrix.file, '.md') }}
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: ${{ needs.get-changed-files.outputs.fetch-depth }}
|
||||
- name: Setup Ruby v2.6
|
||||
if: ${{ endsWith(matrix.file, '.yml') || endsWith(matrix.file, '.md') }}
|
||||
uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: 2.6
|
||||
- name: Install awesome_bot
|
||||
if: ${{ endsWith(matrix.file, '.yml') || endsWith(matrix.file, '.md') }}
|
||||
run: |
|
||||
gem install awesome_bot
|
||||
- name: Set output
|
||||
|
@ -104,7 +101,6 @@ jobs:
|
|||
|
||||
echo "FILEPATH=${file_path}" >> "$GITHUB_OUTPUT"
|
||||
- name: "Check URLs of file: ${{ matrix.file }}"
|
||||
if: ${{ endsWith(matrix.file, '.yml') || endsWith(matrix.file, '.md') }}
|
||||
run: |
|
||||
awesome_bot "${{ matrix.file }}" --allow-redirect --allow-dupe --allow-ssl || true;
|
||||
- uses: actions/upload-artifact@v4
|
||||
|
|
Loading…
Reference in New Issue