From 0074c1209fa86f2d773544fea5bae8e8a6634e5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Sat, 19 Dec 2020 11:09:59 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Add=20GitHub=20Action=20latest-c?= =?UTF-8?q?hanges,=20update=20issue-manager,=20add=20funding?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/FUNDING.yml | 1 + .github/workflows/issue-manager.yml | 19 ++++++++++++------- .github/workflows/latest-changes.yml | 22 ++++++++++++++++++++++ 3 files changed, 35 insertions(+), 7 deletions(-) create mode 100644 .github/FUNDING.yml create mode 100644 .github/workflows/latest-changes.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 00000000..0ffc101a --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1 @@ +github: [tiangolo] diff --git a/.github/workflows/issue-manager.yml b/.github/workflows/issue-manager.yml index cd5d7a03..7b074fd1 100644 --- a/.github/workflows/issue-manager.yml +++ b/.github/workflows/issue-manager.yml @@ -2,20 +2,25 @@ name: Issue Manager on: schedule: - - cron: "0 0 * * *" + - cron: "0 0 * * *" + issue_comment: + types: + - created + - edited + issues: + types: + - labeled jobs: issue-manager: runs-on: ubuntu-latest steps: - - uses: tiangolo/issue-manager@master - with: - token: ${{ secrets.GITHUB_TOKEN }} - config: > + - uses: tiangolo/issue-manager@0.2.0 + with: + token: ${{ secrets.GITHUB_TOKEN }} + config: > { "answered": { - "users": ["tiangolo"], - "delay": 864000, "message": "Assuming the original issue was solved, it will be automatically closed now. But feel free to add more comments or create new issues." } } diff --git a/.github/workflows/latest-changes.yml b/.github/workflows/latest-changes.yml new file mode 100644 index 00000000..966822c9 --- /dev/null +++ b/.github/workflows/latest-changes.yml @@ -0,0 +1,22 @@ +name: Latest Changes + +on: + pull_request_target: + branches: + - master + types: + - closed + workflow_dispatch: + inputs: + number: + description: PR number + required: true + +jobs: + latest-changes: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: docker://tiangolo/latest-changes:0.0.3 + with: + token: ${{ secrets.GITHUB_TOKEN }}