Skip to content

Add license comments for code files #2

Add license comments for code files

Add license comments for code files #2

name: Status Check Runner
on:
issue_comment:
types:
- created
env:
shouldc: false
jobs:
checkif:
runs-on: ubuntu-latest
name: Check Comment Content
steps:
- name: Check
run: |
if [[ "${{ github.event.comment.body }}" != *"!Run check"* ]]; then
echo "The comment content does not contain the specified text. Cancelling workflow."
else
echo "The comment content contains the specified text. Continuing with further actions."
echo "shouldc=true" >> $GITHUB_ENV
fi
call-check-workflow:
if: ${{ env.shouldc }}

Check failure on line 25 in .github/workflows/statuscheck-runner.yml

View workflow run for this annotation

GitHub Actions / Status Check Runner

Invalid workflow file

The workflow is not valid. .github/workflows/statuscheck-runner.yml (Line: 25, Col: 9): Unrecognized named-value: 'env'. Located at position 1 within expression: env.shouldc
uses: Darock-Studio/Darock-Bili/.github/workflows/status-check.yml@main