From 9fd50784fa872aede4dafbe64b43aee30c37d496 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Thu, 3 Feb 2022 04:45:50 +0300 Subject: [PATCH] Create _check.yml --- .github/workflows/_check.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/_check.yml diff --git a/.github/workflows/_check.yml b/.github/workflows/_check.yml new file mode 100644 index 00000000..4800f55f --- /dev/null +++ b/.github/workflows/_check.yml @@ -0,0 +1,23 @@ +name: _check +on: + workflow_dispatch: + pull_request: + types: [opened, synchronize, reopened, edited] +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - id: files + uses: jitterbit/get-changed-files@v1 + - run: | + for changed_file in ${{ steps.files.outputs.added_modified }}; do + echo "Do something with this ${changed_file}." + done + # - name: Download channels from API + # run: | + # mkdir -p scripts/data + # curl -L -o scripts/data/channels.json https://iptv-org.github.io/api/channels.json + # - run: npm install + # - run: npm run lint ${{ steps.files.outputs.added_modified }} + # - run: npm run validate ${{ steps.files.outputs.added_modified }}