From 288cc21a266fb7e78f1e212fb4416e198594b6d1 Mon Sep 17 00:00:00 2001 From: Charlene Auger Date: Thu, 26 Sep 2024 14:54:02 +0200 Subject: [PATCH] ci(project): update workflow and remove useless files --- .github/ISSUE_TEMPLATE/bug_report.md | 2 +- .github/ISSUE_TEMPLATE/feature_request.md | 2 +- .github/workflows/issue_notification.yml | 24 ------------------- .github/workflows/mega-linter.yml | 2 +- .../workflows/pullrequest_notification.yml | 24 ------------------- 5 files changed, 3 insertions(+), 51 deletions(-) delete mode 100644 .github/workflows/issue_notification.yml delete mode 100644 .github/workflows/pullrequest_notification.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index f8155b0be..e381468ee 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -3,7 +3,7 @@ name: Bug report about: Create a report to help us improve title: "[BUG]" labels: bug, need approval -assignees: charleneauger, damienbelliard, gillesdubois, RudyLaurent +assignees: charleneauger, damienbelliard, gillesdubois, Lea9250 --- diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 61bc3ef4c..b5df2d581 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -3,7 +3,7 @@ name: Feature request about: Suggest an idea for this project title: "[FEATURE]" labels: Feature, need approval -assignees: charleneauger, damienbelliard, gillesdubois +assignees: charleneauger, damienbelliard, gillesdubois, Lea9250 --- diff --git a/.github/workflows/issue_notification.yml b/.github/workflows/issue_notification.yml deleted file mode 100644 index 9b0a6dc25..000000000 --- a/.github/workflows/issue_notification.yml +++ /dev/null @@ -1,24 +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 a65fa56e2..9c1189388 100644 --- a/.github/workflows/mega-linter.yml +++ b/.github/workflows/mega-linter.yml @@ -52,7 +52,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 a8fa1a45f..000000000 --- a/.github/workflows/pullrequest_notification.yml +++ /dev/null @@ -1,24 +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 }} -