From fe871e9eb2024434335559e90689ac3869e42ffc Mon Sep 17 00:00:00 2001 From: Archmonger <16909269+Archmonger@users.noreply.github.com> Date: Mon, 2 May 2022 21:05:50 -0700 Subject: [PATCH 1/3] replace changelog CI with greetings --- .github/workflows/check-changelog-updated.yml | 20 ------------------ .github/workflows/pr-greetings.yml | 21 +++++++++++++++++++ 2 files changed, 21 insertions(+), 20 deletions(-) delete mode 100644 .github/workflows/check-changelog-updated.yml create mode 100644 .github/workflows/pr-greetings.yml diff --git a/.github/workflows/check-changelog-updated.yml b/.github/workflows/check-changelog-updated.yml deleted file mode 100644 index 3d3c66f2f..000000000 --- a/.github/workflows/check-changelog-updated.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Check Changelog -on: - pull_request: - types: [assigned, opened, synchronize, reopened, labeled, unlabeled] - branches: - - main -jobs: - build: - name: Check Actions - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - name: Changelog check - uses: Zomzog/changelog-checker@v1.2.0 - with: - fileName: docs/source/about/changelog.rst - noChangelogLabel: "flag: no changelog" # default `no changelog` - checkNotification: Simple # default `Detailed` - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/pr-greetings.yml b/.github/workflows/pr-greetings.yml new file mode 100644 index 000000000..afb4eac6a --- /dev/null +++ b/.github/workflows/pr-greetings.yml @@ -0,0 +1,21 @@ +name: Greetings + +on: [pull_request] + +jobs: + greeting: + runs-on: ubuntu-latest + steps: + - uses: actions/first-interaction@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + pr-message: | + Hello @${{ github.actor }}! Please remember the following: + + - Update the `changelog.rst` if your changes are significant. + - Provide a verbose PR title and description. + - List any GitHub issues that may be closed by this PR. + - Add tests if this PR adds functionality or bugfixes. + - Keep this PR marked as draft until ready for review. + + Thank you for your contribution! \ No newline at end of file From 5bc48a400ce1db92a121d39144ddb1c41367ea63 Mon Sep 17 00:00:00 2001 From: Archmonger <16909269+Archmonger@users.noreply.github.com> Date: Mon, 2 May 2022 21:16:34 -0700 Subject: [PATCH 2/3] switch to a different CI --- .github/workflows/pr-greetings.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pr-greetings.yml b/.github/workflows/pr-greetings.yml index afb4eac6a..fa7448047 100644 --- a/.github/workflows/pr-greetings.yml +++ b/.github/workflows/pr-greetings.yml @@ -1,15 +1,17 @@ -name: Greetings +name: PR Greetings Message -on: [pull_request] +on: + pull_request: + types: [opened] jobs: greeting: runs-on: ubuntu-latest steps: - - uses: actions/first-interaction@v1 + - uses: Manoj-Paramsetti/greets-action@1.0 with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - pr-message: | + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + PR_message: | Hello @${{ github.actor }}! Please remember the following: - Update the `changelog.rst` if your changes are significant. @@ -18,4 +20,4 @@ jobs: - Add tests if this PR adds functionality or bugfixes. - Keep this PR marked as draft until ready for review. - Thank you for your contribution! \ No newline at end of file + Thank you for your contribution! From f8e4b72e83399f7863c4613e38bb4a3981c68bea Mon Sep 17 00:00:00 2001 From: Archmonger <16909269+Archmonger@users.noreply.github.com> Date: Mon, 2 May 2022 21:43:16 -0700 Subject: [PATCH 3/3] try another CI --- .github/workflows/pr-greetings.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pr-greetings.yml b/.github/workflows/pr-greetings.yml index fa7448047..619f9bc4a 100644 --- a/.github/workflows/pr-greetings.yml +++ b/.github/workflows/pr-greetings.yml @@ -1,17 +1,19 @@ -name: PR Greetings Message +name: Greetings Message on: pull_request: - types: [opened] + types: [opened, synchronize] jobs: - greeting: + GreetCommitter: runs-on: ubuntu-latest steps: - - uses: Manoj-Paramsetti/greets-action@1.0 - with: + - name: "Greetings Message" + uses: ibakshay/greet-contributors-action@v3 + env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - PR_message: | + with: + content: | Hello @${{ github.actor }}! Please remember the following: - Update the `changelog.rst` if your changes are significant.