2021-11-24 16:39:41 -05:00
|
|
|
name: BIDI CHECK
|
|
|
|
|
|
|
|
# Controls when the workflow will run
|
|
|
|
on:
|
|
|
|
# Triggers the workflow on push or pull request events but only for the main branch
|
|
|
|
push:
|
|
|
|
branches: [ master ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
|
|
|
|
|
|
|
# Allows you to run this workflow manually from the Actions tab
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
bidi_checker_job:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
name: Check for bidi unicode characters in repo
|
|
|
|
steps:
|
|
|
|
# Checkout the repo code. IMPORTANT, this step is needed to populate the directory defined by GITHUB_WORKSPACE
|
|
|
|
- name: Checkout repo
|
|
|
|
uses: actions/checkout@v1
|
|
|
|
id: checkout
|
|
|
|
# Run the check for bidi characters.
|
|
|
|
- name: Check for bidi characters
|
|
|
|
id: bidi_check
|
2023-03-31 12:50:04 -04:00
|
|
|
uses: HL7/bidi-checker-action@v1.9
|
2021-11-24 16:39:41 -05:00
|
|
|
- name: Get the output time
|
|
|
|
run: echo "The time was ${{ steps.bidi_check.outputs.time }}"
|