Let's see if this goes catastrophic or not.

This commit is contained in:
Imre Eilertsen
2024-06-12 15:52:22 +02:00
committed by GitHub
parent 8804fdb923
commit d4b24b22bb
@@ -0,0 +1,19 @@
name: RegEx text replacement (https://github.com/marketplace/actions/find-and-replace)
on: [push, pull_request, discusson_comment]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v2
- name: Find and Replace
uses: jacobtomlinson/gha-find-replace@v3
with:
find: "(:has-text\(/([a-zA-Z0-9øØåÅñ_.;,|/{}* !?"'-]|\\){0,}([a-rt-zA-RæÆøØåÅT-Z0-9]))\3([a-zA-Z0-9æÆøØåÅñ_.;,|/{}* !"'-]|\\)"
replace: "\1{2}\4"
regex: true
include: "**/a.txt"
- name: Push changes
- title: '[Bot] RegEx optimising'
uses: stefanzweifel/git-auto-commit-action@v4