From 8b05d44dcbb53dd971c17ecd708016943e8210e4 Mon Sep 17 00:00:00 2001 From: Alex Martynov <martynov.alex@gmail.com> Date: Mon, 1 Apr 2024 12:50:22 +0600 Subject: [PATCH] chore(SNP-1124): delete unused workflows --- .github/workflows/check_issue.yaml | 15 ------------- .github/workflows/new_issues_label.yml | 16 -------------- .github/workflows/new_pull_request_label.yml | 17 -------------- .../new_pull_request_main_actions.yml | 22 ------------------- .../new_pull_request_to_pyrus_task.yml | 2 +- .github/workflows/on_pull_request.yml | 2 +- .github/workflows/publish_to_pub.yml | 2 +- 7 files changed, 3 insertions(+), 73 deletions(-) delete mode 100644 .github/workflows/check_issue.yaml delete mode 100644 .github/workflows/new_issues_label.yml delete mode 100644 .github/workflows/new_pull_request_label.yml delete mode 100644 .github/workflows/new_pull_request_main_actions.yml diff --git a/.github/workflows/check_issue.yaml b/.github/workflows/check_issue.yaml deleted file mode 100644 index 1fa2e27..0000000 --- a/.github/workflows/check_issue.yaml +++ /dev/null @@ -1,15 +0,0 @@ -name: "Checking issue for correctness of described" - -on: - issues: - types: - - reopened - - opened - -jobs: - check-issue: - uses: surfstudio/flutter-ci-workflows/.github/workflows/check_issues.yaml@main - with: - REPO_PATH: 'https://github.com/surfstudio/flutter-surf-widget-test-composer/issues/new/choose' - ISSUE_TITLE: ${{ github.event.issue.title }} - ISSUE_BODY: ${{ github.event.issue.body }} diff --git a/.github/workflows/new_issues_label.yml b/.github/workflows/new_issues_label.yml deleted file mode 100644 index 58890cc..0000000 --- a/.github/workflows/new_issues_label.yml +++ /dev/null @@ -1,16 +0,0 @@ -# This workflow uses actions that are not certified by GitHub. -# They are provided by a third-party and are governed by -# separate terms of service, privacy policy, and support -# documentation. - -name: Label issues -on: - issues: - types: - - reopened - - opened -jobs: - label_issues: - uses: surfstudio/flutter-ci-workflows/.github/workflows/new_issues_label.yml@main - secrets: - SECRET_ISSUES: ${{ secrets.ACCESS_TOKEN_FOR_SURFGEAR }} diff --git a/.github/workflows/new_pull_request_label.yml b/.github/workflows/new_pull_request_label.yml deleted file mode 100644 index 9fd27c2..0000000 --- a/.github/workflows/new_pull_request_label.yml +++ /dev/null @@ -1,17 +0,0 @@ -# This workflow is triggered when a WIP label is added to an open pull request. -# When deleting the WIP label, the new_pull_request label is added. -# When adding a WIP label, the new_pull_request label is removed if there is one. - -name: Pull-request label tracking -on: - pull_request_target: - types: - - labeled - - unlabeled - -jobs: - label_pull_request: - if: ${{ github.event.label.name == 'WIP' }} - uses: surfstudio/flutter-ci-workflows/.github/workflows/new_pull_request_label.yml@main - secrets: - SECRET_ISSUES: ${{ secrets.ACCESS_TOKEN_FOR_SURFGEAR }} diff --git a/.github/workflows/new_pull_request_main_actions.yml b/.github/workflows/new_pull_request_main_actions.yml deleted file mode 100644 index e33b93a..0000000 --- a/.github/workflows/new_pull_request_main_actions.yml +++ /dev/null @@ -1,22 +0,0 @@ -# This workflow is triggered when a pull request opened, edited, reopened, -# converted_to_draft and ready_for_review. -# -# There is no WIP in the title, there is no WIP label and the pull request is not a draft the -# new pull request label is added. -# If either of these is true then remove the label new pull request if there is one. - -name: Pull-request tracking -on: - pull_request_target: - types: - - opened - - edited - - reopened - - converted_to_draft - - ready_for_review - -jobs: - pull_request: - uses: surfstudio/flutter-ci-workflows/.github/workflows/new_pull_request_label.yml@main - secrets: - SECRET_ISSUES: ${{ secrets.ACCESS_TOKEN_FOR_SURFGEAR }} diff --git a/.github/workflows/new_pull_request_to_pyrus_task.yml b/.github/workflows/new_pull_request_to_pyrus_task.yml index b41f0ba..8aa4cb1 100644 --- a/.github/workflows/new_pull_request_to_pyrus_task.yml +++ b/.github/workflows/new_pull_request_to_pyrus_task.yml @@ -15,7 +15,7 @@ jobs: needs: get_package_name uses: surfstudio/flutter-ci-workflows/.github/workflows/new_issue_or_pr_to_pyrus_task.yml@SNP-1124_update_CI with: - TYPE: PR + TYPE: Pull request PACKAGE_NAME: ${{ needs.get_package_name.outputs.package_name }} TITLE: ${{ github.event.pull_request.title }} BODY: ${{ github.event.pull_request.body }} diff --git a/.github/workflows/on_pull_request.yml b/.github/workflows/on_pull_request.yml index 5059619..0fdfa0c 100644 --- a/.github/workflows/on_pull_request.yml +++ b/.github/workflows/on_pull_request.yml @@ -1,4 +1,4 @@ -name: "Main" +name: On pull request on: pull_request: diff --git a/.github/workflows/publish_to_pub.yml b/.github/workflows/publish_to_pub.yml index 4639b24..891bd20 100644 --- a/.github/workflows/publish_to_pub.yml +++ b/.github/workflows/publish_to_pub.yml @@ -1,4 +1,4 @@ -name: "Publishing" +name: Publishing on: push: