Skip to content

Update README.md

Update README.md #4

Workflow file for this run

name: Auto Close Pull Requests
on:
pull_request:
types: [opened]
jobs:
close-pr:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install GitHub CLI
uses: heyValdemars/[email protected]
with:
gh-version: latest
- name: Close PR with GH CLI
run: |
gh pr close "${{ github.event.pull_request.number }}" \
--repo ${{ github.repository }} \
--comment "Thank you for your interest in contributing to PEcAn documentation!
This repository is automatically maintained and synchronized from the book_source/ directory of the [pecanproject/pecan](https://github.com/pecanproject/pecan) repository.

Check failure on line 25 in .github/workflows/auto-close-pr.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/auto-close-pr.yml

Invalid workflow file

You have an error in your yaml syntax on line 25
Please submit your pull request there instead:
👉 [pecanproject/pecan](https://github.com/pecanproject/pecan)
We appreciate your effort and understanding!" \
--delete-branch