Gstreamer video recorder: add python bindings #4535
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Check URLs | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| check-urls: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Get changed files in the PR | |
| if: github.event_name == 'pull_request' | |
| id: changed-files | |
| run: | | |
| # Get changed files using git diff | |
| if git diff --name-only --diff-filter=d origin/${{ github.base_ref }}..HEAD | grep -E '\.(md|html|rst)$' > changed_files.txt; then | |
| if [ -s changed_files.txt ]; then | |
| echo "any_changed=true" >> $GITHUB_OUTPUT | |
| echo "changed_files_list=$(cat changed_files.txt | sed 's|^|'"'"'${{ github.workspace }}/|; s|$|'"'"'|' | tr '\n' ' ')" >> $GITHUB_OUTPUT | |
| else | |
| echo "any_changed=false" >> $GITHUB_OUTPUT | |
| fi | |
| else | |
| echo "any_changed=false" >> $GITHUB_OUTPUT | |
| fi | |
| - name: Echo changed files in the PR | |
| if: github.event_name == 'pull_request' && steps.changed-files.outputs.any_changed == 'true' | |
| run: | | |
| echo "Files being checked: ${{ steps.changed-files.outputs.changed_files_list }}" | |
| - name: URL checker (PR - changed files only) | |
| if: github.event_name == 'pull_request' && steps.changed-files.outputs.any_changed == 'true' | |
| id: lychee-pr | |
| uses: lycheeverse/lychee-action@v2 | |
| with: | |
| workingDirectory: .github/workflows | |
| args: >- | |
| --accept=200,403,429 | |
| --verbose | |
| --no-progress | |
| --root-dir=${{ github.workspace }} | |
| --exclude='${{ github.workspace }}/doc/website/overrides/' | |
| --remap='(file://.*)/holoscan-sdk/(.*) https://github.com/nvidia-holoscan/holoscan-sdk/tree/main/$2' | |
| ${{ steps.changed-files.outputs.changed_files_list }} | |
| fail: true | |
| failIfEmpty: false | |
| jobSummary: true | |
| - name: URL checker (all files) | |
| if: github.event_name == 'push' | |
| id: lychee-main | |
| uses: lycheeverse/lychee-action@v2 | |
| with: | |
| workingDirectory: .github/workflows | |
| args: >- | |
| --accept=200,403,429 | |
| --verbose | |
| --no-progress | |
| --root-dir=${{ github.workspace }} | |
| --exclude='${{ github.workspace }}/doc/website/overrides/' | |
| --remap='(file://.*)/holoscan-sdk/(.*) https://github.com/nvidia-holoscan/holoscan-sdk/tree/main/$2' | |
| '${{ github.workspace }}/**/*.md' | |
| '${{ github.workspace }}/**/*.html' | |
| '${{ github.workspace }}/**/*.rst' | |
| fail: true | |
| failIfEmpty: false | |
| jobSummary: true |