🔧 (todo-to-issue.yml): fix escape sequences in language block comment patterns #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Latest Changes | |
on: | |
pull_request_target: | |
branches: | |
- main | |
types: | |
- closed | |
workflow_dispatch: | |
inputs: | |
number: | |
description: PR number | |
required: true | |
jobs: | |
latest-changes: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pull-requests: read | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Create Latest Changes section if not exists | |
run: | | |
if ! grep -q "### Latest Changes" README.md; then | |
echo -e "\n### Latest Changes\n" >> README.md | |
fi | |
- uses: docker://tiangolo/latest-changes:0.2.1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} |