Fix sonarr manual import method #52
Workflow file for this run
This file contains 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 Version has been updated | |
on: | |
pull_request: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
checkVersion: | |
if: github.event_name == 'pull_request' | |
name: Check version updated | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Check if Python files changed | |
id: changed-files | |
uses: tj-actions/changed-files@v9 | |
with: | |
files: | | |
.py | |
pyproject.toml | |
- name: Run step if any of the listed files above change | |
if: steps.changed-files.outputs.any_changed == 'true' | |
run: | | |
echo "One or more files has changed." | |
- name: Check package version | |
if: steps.changed-files.outputs.any_changed == 'true' | |
uses: dudo/[email protected] | |
with: | |
git_tag_prefix: v |