summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authordvora-h <67596500+dvora-h@users.noreply.github.com>2022-02-15 13:06:56 +0200
committerGitHub <noreply@github.com>2022-02-15 13:06:56 +0200
commit968035308e12e2fcefe28b6507e9c4e715eb8331 (patch)
tree1da67a7f4de7d1ea3acffc0d79167ac767a98a54 /.github
parentaafa7f1ba150afb6d003e813386895e7ca08db6d (diff)
downloadredis-py-968035308e12e2fcefe28b6507e9c4e715eb8331.tar.gz
Delete update-changes workflow and edit PR template (#1990)
Diffstat (limited to '.github')
-rw-r--r--.github/PULL_REQUEST_TEMPLATE.md1
-rw-r--r--.github/workflows/update-changes.yaml31
2 files changed, 1 insertions, 31 deletions
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
index 58062a1..a46d8c9 100644
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -7,6 +7,7 @@ _Please make sure to review and check all of these items:_
- [ ] Is the new or changed code fully tested?
- [ ] Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?
- [ ] Is there an example added to the examples folder (if applicable)?
+- [ ] Is the changes added to CHANGES file?
_NOTE: these things are not required to open a PR and can be done
afterwards / while the PR is open._
diff --git a/.github/workflows/update-changes.yaml b/.github/workflows/update-changes.yaml
deleted file mode 100644
index 960da04..0000000
--- a/.github/workflows/update-changes.yaml
+++ /dev/null
@@ -1,31 +0,0 @@
-name: Update CHANGES File
-on:
- pull_request:
- types: [opened]
- branches:
- - master
-jobs:
- update-changes:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- with:
- persist-credentials: false
- fetch-depth: 0
-
- - name: Get changed files
- id: changed-files
- uses: tj-actions/changed-files@v14.6
-
- - name: Update CHANGES file
- if: "!contains(steps.changed-files.outputs.all_changed_files, 'CHANGES')"
- run: |
- echo -e "\t* ${{ github.event.pull_request.title }} (#${{ github.event.pull_request.number }}). Thanks @${{ github.actor }}" > CHANGES2
- cat CHANGES >> CHANGES2
- mv CHANGES2 CHANGES
- - name: Commit & Push changes
- uses: actions-js/push@master
- with:
- github_token: ${{ secrets.GITHUB_TOKEN }}
- branch: ${{ github.head_ref }}
- message: "Update CHANGES file"