Skip to content

Merge pull request #72 from kairi003/hotfix/support-browsers-unware-o… #3

Merge pull request #72 from kairi003/hotfix/support-browsers-unware-o…

Merge pull request #72 from kairi003/hotfix/support-browsers-unware-o… #3

Workflow file for this run

name: Push firefox version
on:
push:
branches:
- master
paths:
- 'src/manifest.json'
workflow_dispatch:
jobs:
merge-manifests:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Merge manifest files
run: |
jq -s '.[0] + .[1]' src/manifest.json src/manifest-firefox.json > /tmp/manifest.json
mv /tmp/manifest.json src/manifest.json
- name: Commit and push if needed
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add src/manifest.json
git commit -m "Update manifest.json for Firefox" || echo "No changes to commit"
git push origin master:firefox --force