From 6884fb6de6eadacf3aed3b8b5d5311401d034548 Mon Sep 17 00:00:00 2001 From: Charlene Auger Date: Thu, 26 Sep 2024 15:07:22 +0200 Subject: [PATCH] ci(project): update workflow and remove useless files --- .github/workflows/issue_notification.yml | 23 ------------------- .github/workflows/mega-linter.yml | 2 +- .../workflows/pullrequest_notification.yml | 23 ------------------- 3 files changed, 1 insertion(+), 47 deletions(-) delete mode 100644 .github/workflows/issue_notification.yml delete mode 100644 .github/workflows/pullrequest_notification.yml diff --git a/.github/workflows/issue_notification.yml b/.github/workflows/issue_notification.yml deleted file mode 100644 index c5a37512..00000000 --- a/.github/workflows/issue_notification.yml +++ /dev/null @@ -1,23 +0,0 @@ ---- -name: New issue - -on: - issues: - types: - - opened - -jobs: - chatmsg: - runs-on: ubuntu-latest - name: Issue chat message - steps: - - name: Rocket.Chat Notification - uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master - if: always() - with: - type: ${{ job.status }} - job_name: ${{ format('*New issue {0}* => {1}', github.event.issue.number, github.event.issue.title) }} - mention: "here" - mention_if: "failure" - channel: ${{ secrets.ROCKET_CHAT_ISSUE_CHAN }} - url: ${{ secrets.ROCKET_CHAT_ISSUE_HOOK }} diff --git a/.github/workflows/mega-linter.yml b/.github/workflows/mega-linter.yml index 39e58d51..0e9f18cd 100644 --- a/.github/workflows/mega-linter.yml +++ b/.github/workflows/mega-linter.yml @@ -47,7 +47,7 @@ jobs: # Upload Mega-Linter artifacts - name: Archive production artifacts if: ${{ success() }} || ${{ failure() }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: Mega-Linter reports path: | diff --git a/.github/workflows/pullrequest_notification.yml b/.github/workflows/pullrequest_notification.yml deleted file mode 100644 index b025968d..00000000 --- a/.github/workflows/pullrequest_notification.yml +++ /dev/null @@ -1,23 +0,0 @@ ---- -name: New pull request - -on: - pull_request: - types: - - opened - -jobs: - chatmsg: - runs-on: ubuntu-latest - name: PR chat message - steps: - - name: Rocket.Chat Notification - uses: RocketChat/Rocket.Chat.GitHub.Action.Notification@master - if: always() - with: - type: ${{ job.status }} - job_name: ${{ format('*New pull request {0}* => {1}', github.event.pull_request.number, github.event.pull_request.title) }} - mention: "here" - mention_if: "failure" - channel: ${{ secrets.ROCKET_CHAT_PR_CHAN }} - url: ${{ secrets.ROCKET_CHAT_PR_HOOK }}