diff --git a/.github/workflows/Fix-Readme.yml b/.github/workflows/Fix-Readme.yml new file mode 100644 index 0000000..8df3bd8 --- /dev/null +++ b/.github/workflows/Fix-Readme.yml @@ -0,0 +1,21 @@ +name: Fix Readme +on: + workflow_dispatch: +jobs: + Fix_Readme: + runs-on: ubuntu-latest + permissions: write-all + steps: + - uses: actions/checkout@v3 + - name: Edit Readme + run: | + curl -o README.md https://raw.githubusercontent.com/${{ github.repository }}/main/README.md + sed -i "s#FiorenMas/Revanced-And-Revanced-Extended-Non-Root#${{ github.repository }}#g" README.md + + - name: Commit Readme + uses: EndBug/add-and-commit@v9.1.1 + with: + add: 'README.md' + default_author: github_actor + message: 'Edit Readme' + push: true