Arduino SIM EoL [HC-1609] #1335
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: validate | |
on: | |
repository_dispatch: | |
types: deploy | |
push: | |
branches: | |
- master | |
pull_request: | |
types: [opened, synchronize, ready_for_review, reopened] | |
jobs: | |
markdown: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Markdownlint | |
run: | | |
cd _linter | |
npm install | |
cd .. | |
node _linter/markdownlint.js | |
zendesk: | |
if: github.repository_owner == 'arduino' | |
runs-on: ubuntu-latest | |
env: | |
ZENDESK_USER: ${{ secrets.ZENDESK_USER }} | |
ZENDESK_PASS: ${{ secrets.ZENDESK_TOKEN }} | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Preview changes | |
run: | | |
cd _deploy | |
npm install | |
cd .. | |
node _deploy/zendesk.mjs content '*/*/*.md' https://arduino.zendesk.com/api/v2/help_center --wait 60 |