Update find_replace.yml #6
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: Find Replace Var | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Find and Replace | |
uses: jacobtomlinson/gha-find-replace@v3 | |
with: | |
find: "$pia_lang['Device_" | |
replace: "$pia_lang['DEV_" | |
regex: false | |
- name: Configure Git | |
run: | | |
git config user.name "github-actions[bot]" | |
git config user.email "github-actions[bot]@users.noreply.github.com" | |
- name: Commit Changes | |
run: | | |
git add . | |
git commit -m "Automated find and replace" | |
- name: Push Changes to Branch | |
env: | |
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }} # Verwende hier das PAT_TOKEN | |
run: | | |
git push origin next_update |