Skip to content

Commit

Permalink
fixup! Do not check l10n comments
Browse files Browse the repository at this point in the history
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
  • Loading branch information
skjnldsv committed Nov 24, 2020
1 parent fe57719 commit a851d66
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/l10n.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ jobs:
name: node${{ matrix.node-version }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}

- name: Set up node ${{ matrix.node-version }}
uses: actions/setup-node@v1
Expand All @@ -21,8 +24,8 @@ jobs:
- name: Install dependencies
run: npm ci

- name: Extract l10n files
run: npm run l10n:extract
- name: Extract l10n files
run: npm run l10n:extract

- name: Check l10n file changes
run: bash -c "[[ ! \"`git --no-pager diff --name-only -G'^[^#]' origin/master l10n/`\" ]] || ( echo 'Uncommited l10n changes. Run \`npm run l10n:extract\`.' && exit 1 )"
- name: Check l10n file changes
run: bash -c "[[ ! \"`git --no-pager diff --name-only -G'^[^#]' master l10n`\" ]] || ( echo 'Uncommited l10n changes. Run \`npm run l10n:extract\`.' && exit 1 )"

0 comments on commit a851d66

Please sign in to comment.