Skip to content

Commit

Permalink
Add new workflow from template
Browse files Browse the repository at this point in the history
  • Loading branch information
dcamron committed Jul 19, 2023
1 parent 1aedead commit eaa1686
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/trigger-replace-links.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: trigger-replace-links

on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- uses: actions/checkout@v3
- 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.yml"

- name: Push changes
uses: stefanzweifel/git-auto-commit-action@v4

0 comments on commit eaa1686

Please sign in to comment.