mirror of
https://github.com/DandelionSprout/adfilt.git
synced 2026-09-24 22:03:36 +01:00
19 lines
531 B
YAML
19 lines
531 B
YAML
name: RegEx text replacement
|
|
on: [push, pull_request, discussion_comment, issue_comment, fork]
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Find and Replace
|
|
uses: jacobtomlinson/gha-find-replace@v3
|
|
with:
|
|
find: "((/.*([a-rt-zA-RT-Z0-9]))$3([^?].*/i))"
|
|
replace: "$1{2}$4"
|
|
include: "a.txt"
|
|
regex: true
|
|
- name: Push changes
|
|
uses: stefanzweifel/git-auto-commit-action@v4
|