sandbox/.github/workflows/php-syntaxcheck.yml
Yongmin Hong 24c3fe7517
CI(GitHub Actions): rename workflow name/exclude tags
Summary:
Don't run php check on npm tag push.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: land it and watch when next tagbis uploaded.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D448
2024-06-30 17:18:07 +09:00

20 lines
424 B
YAML

---
name: 'PHP Syntax Check'
on:
push:
paths:
- '**.php'
tags-ignore:
- 'eslint-config@v*'
- 'prettier-config@v*'
pull_request:
workflow_dispatch:
jobs:
phpsyntax:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: PHP Basic Syntax Check
run: php -l ${{ github.workspace }}/PhabExt/PhabricatorCustomRobotsTxtController.php