-
Notifications
You must be signed in to change notification settings - Fork 75
43 lines (33 loc) · 1008 Bytes
/
sync-a11y.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Workflow that syncs a11y specs (@progress/wct-a11y-spec) after Dependabot detects a new version
# or a human updates the src-a11y folder.
name: Sync src-a11y
on:
pull_request:
paths: # You can specify more paths if you need to
- 'src-a11y/**' # The resources folder name
jobs:
sync:
if: github.actor != 'kendo-bot'
runs-on: ubuntu-22.04
permissions:
contents: write
defaults:
run:
working-directory: src-a11y # The resources folder name
steps:
- name: Checkout branch
uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-node@v2
with:
node-version: '18'
- name: Install
run: npm ci
- name: Sync Specs
run: npx gulp sync-specs # If you changed the main gulp task make sure to update it here
- name: Commit Syncs
run: |
bash ./commit.sh
git push