Update network access attribute to use toggle controller (#660) #9
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: Localization | |
on: | |
push: | |
branches: [ main ] | |
paths: [ 'resources/locales/**' ] | |
permissions: | |
contents: read | |
jobs: | |
update: | |
name: Locale Updates | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
- name: Update skill locale | |
run: node .github/scripts/updateSkillLocale.js | |
- name: Check for changes to commit | |
id: changes | |
run: test -n "$(git status -suno)" | |
continue-on-error: true | |
- name: Commit and push changes | |
if: steps.changes.outcome == 'success' | |
run: | | |
git config user.name openhab-bot | |
git config user.email [email protected] | |
git commit -a -m "New locale updates" | |
git push |