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 }}