Skip to content

Closes #125, changed and checked already #18

Closes #125, changed and checked already

Closes #125, changed and checked already #18

Workflow file for this run

name: "Workflow for local testing"
on:
pull_request:
branches:
- dev
types: [opened, edited, ready_for_review, synchronize]
jobs:
dev_check_pr:
name: "Checks dev version"
runs-on: ubuntu-latest
steps:
- name: Dev check PR
uses: JJ/github-pr-contains-action@feat/v14
id: dev_check_pr
with:
github-token: ${{github.token}}
bodyContains: "[x]"
bodyDoesNotContain: "your|own"
- name: Info PR
env:
NUMBER_OF_FILES : ${{ steps.dev_check_pr.outputs.numberOfFiles }}
run: echo "::warning::We got files: $NUMBER_OF_FILES"

Check failure on line 23 in .github/workflows/local-testing.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/local-testing.yaml

Invalid workflow file

You have an error in your yaml syntax on line 23
- name: Fail if too big
if: ${{ steps.dev_check_pr.outputs.numberOfFiles > 3 }}
env:
NUMBER_OF_FILES : ${{ steps.dev_check_pr.outputs.numberOfFiles }}
run: |
echo "::error::Too many files, there are $NUMBER_OF_FILES"
exit 1