diff --git a/.github/workflows/trigger-dynamic-readme-update.yaml b/.github/workflows/trigger-dynamic-readme-update.yaml new file mode 100644 index 0000000..12d6db6 --- /dev/null +++ b/.github/workflows/trigger-dynamic-readme-update.yaml @@ -0,0 +1,22 @@ +name: trigger-dynamic-readme-update + +on: + push: + branches: + - main + paths: + - templates/footer.md + +jobs: + trigger-workflow-dispatch: + permissions: + actions: write + runs-on: ubuntu-latest + steps: + - name: Trigger Dynamic READMEs to be updated with templates + uses: benc-uk/workflow-dispatch@v1 + with: + workflow: update-templates + repo: thoughtbot/testing-reusable-repos + token: ${{ secrets.PAT_TOKEN }} + ref: "main"