Skip to content

ci: trying to fix reset script #5

ci: trying to fix reset script

ci: trying to fix reset script #5

name: Update OFW branch
on:
workflow_dispatch:
push:
branches:
- master
jobs:
update-ofw-catalog-branch:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: "recursive"
ref: master_ofw-catalog
- run: |
git config user.name "GitHub Actions Bot"
git config user.email "<>"
git fetch origin
git reset --hard refs/heads/master
- run: |
sed -i 's/appid="totp",/appid="totp",\n fal_embedded=True,/' totp/application.fam
- run: |
git commit -am "chore: Applied OFW catalog changes"
git push -u --force origin master_ofw-catalog