Feat: Test cases for Notification test tool #786
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 changes | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
env: | |
ZEPHYR_TOKEN: ${{ secrets.ZEPHYR_TOKEN }} | |
JIRA_PAT: ${{ secrets.JIRA_PAT }} | |
EMAIL: ${{ secrets.EMAIL }} | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Setup repo | |
uses: actions/checkout@v3 | |
- uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.x | |
- name: Verify formatting | |
run: deno task check | |
- name: Validate changes | |
run: deno task validate | |
- name: Validate All | |
run: deno task validate-all | |
- name: Check spellings | |
uses: codespell-project/actions-codespell@master | |
with: | |
ignore_words_file: .codespellignore | |
path: data | |
- name: Get branch names | |
id: branch-name | |
uses: tj-actions/branch-names@v6 | |
- name: Save changes | |
if: steps.branch-name.outputs.is_default == 'true' | |
run: deno task save | |
- name: Sync changes | |
if: steps.branch-name.outputs.is_default == 'true' | |
run: deno task sync | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
if: steps.branch-name.outputs.is_default == 'true' | |
with: | |
commit_message: "chore(data): Sync" | |
add_options: '-u' | |
skip_dirty_check: true | |
commit_user_name: mattermost-quality | |
commit_user_email: ${{ secrets.EMAIL }} | |