mirror of
https://github.com/DandelionSprout/adfilt.git
synced 2026-09-24 22:03:36 +01:00
Let's see if this goes catastrophic or not.
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user