Skip to content

trigger-replace-links #1

trigger-replace-links

trigger-replace-links #1

name: trigger-replace-links
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Find and Replace Repository Name
uses: jacobtomlinson/gha-find-replace@v3
with:
find: "ProjectPythia/cookbook-template"
replace: "${{ github.repository_owner }}/${{ github.event.repository.name }}"
regex: false
exclude: ".github/workflows/trigger-replace-links.yaml"
- name: Find and Replace Repository ID
uses: jacobtomlinson/gha-find-replace@v3
with:
find: "475509405"
replace: "${{ github.repository_id}}"
regex: false
exclude: ".github/workflows/trigger-replace-links.yaml"
- name: Push changes
uses: stefanzweifel/git-auto-commit-action@v5