From 63f8154565a9fd9eed14e8622576c2da82a8a1f5 Mon Sep 17 00:00:00 2001 From: Maxim Lebedev Date: Tue, 14 Jan 2020 11:10:19 +0500 Subject: [PATCH] :construction_worker: Added GitHub Actions Added configs for AutoClosePR and AutoMigrateIssue for GitHub PR and issues --- .github/workflows/auto-close-pr.yaml | 18 ++++++++++++++++++ .github/workflows/auto-migrate-issue.yaml | 17 +++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 .github/workflows/auto-close-pr.yaml create mode 100644 .github/workflows/auto-migrate-issue.yaml diff --git a/.github/workflows/auto-close-pr.yaml b/.github/workflows/auto-close-pr.yaml new file mode 100644 index 0000000..7e59f0b --- /dev/null +++ b/.github/workflows/auto-close-pr.yaml @@ -0,0 +1,18 @@ +name: AutoMigrate issues +on: issues +jobs: + default: + steps: + - name: AutoClose issue + uses: superbrothers/auto-close-action@v0.0.1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + COMMENT: | + 🚚 Please, [reopen your PR on GitLab](https://gitlab.com/toby3d/telegraph/merge_requests). + + ## Why? + Microsoft is acquiring GitHub. I don't want to be a part of this. I have already moved all of my code to GitLab and I will not update any of my github repos anymore. + + If you have opened an issue or PR on one of my repos, it's still there, and it will be for a while, but please keep the conversations going on GitLab instead. + + Microsoft is an enemy of Open Source and Free Software, and I will do my part in moving away from it in any way I can. \ No newline at end of file diff --git a/.github/workflows/auto-migrate-issue.yaml b/.github/workflows/auto-migrate-issue.yaml new file mode 100644 index 0000000..2216b84 --- /dev/null +++ b/.github/workflows/auto-migrate-issue.yaml @@ -0,0 +1,17 @@ +name: AutoMigrate issues +on: issues +jobs: + default: + steps: + - name: AutoClose issue + uses: superbrothers/auto-close-action@v0.0.1 + env: + comment: | + 🚚 Please, [reopen your PR on GitLab](https://gitlab.com/toby3d/telegraph/merge_requests). + + ## Why? + Microsoft is acquiring GitHub. I don't want to be a part of this. I have already moved all of my code to GitLab and I will not update any of my github repos anymore. + + If you have opened an issue or PR on one of my repos, it's still there, and it will be for a while, but please keep the conversations going on GitLab instead. + + Microsoft is an enemy of Open Source and Free Software, and I will do my part in moving away from it in any way I can. \ No newline at end of file