From da5ccc030d969968eb4e490db1dea32fd5f2dd80 Mon Sep 17 00:00:00 2001 From: Lucy Date: Sun, 3 Dec 2023 18:45:49 -0500 Subject: [PATCH] Delete unnecessary GitHub Actions workflows --- .github/workflows/ci.yml | 59 ----------------------------- .github/workflows/issue_comment.yml | 15 -------- .github/workflows/issues.yml | 15 -------- .github/workflows/pull_request.yml | 14 ------- 4 files changed, 103 deletions(-) delete mode 100644 .github/workflows/ci.yml delete mode 100644 .github/workflows/issue_comment.yml delete mode 100644 .github/workflows/issues.yml delete mode 100644 .github/workflows/pull_request.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index ea23ac3..0000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,59 +0,0 @@ -name: Tests - -on: - push: - branches: - - "main" - - "master" - pull_request: - workflow_dispatch: - -jobs: - test_powershell: - name: WindowsPowerShell - runs-on: windows-latest - steps: - - name: Checkout Bucket - uses: actions/checkout@main - with: - fetch-depth: 2 - path: scoop-lucy - - name: Checkout Scoop - uses: actions/checkout@main - with: - repository: ScoopInstaller/Scoop - path: scoop_core - - name: Init Test Suite - uses: potatoqualitee/psmodulecache@v5.1 - with: - modules-to-cache: BuildHelpers - shell: powershell - - name: Test Bucket - shell: powershell - run: | - $env:SCOOP_HOME="$(Convert-Path '.\scoop_core')" - .\scoop-lucy\bin\test.ps1 - test_pwsh: - name: PowerShell - runs-on: windows-latest - steps: - - name: Checkout Bucket - uses: actions/checkout@main - with: - fetch-depth: 2 - path: scoop-lucy - - name: Checkout Scoop - uses: actions/checkout@main - with: - repository: ScoopInstaller/Scoop - path: scoop_core - - name: Init Test Suite - uses: potatoqualitee/psmodulecache@v5.1 - with: - modules-to-cache: BuildHelpers - shell: pwsh - - name: Test Bucket - shell: pwsh - run: | - $env:SCOOP_HOME="$(Convert-Path '.\scoop_core')" - .\scoop-lucy\bin\test.ps1 diff --git a/.github/workflows/issue_comment.yml b/.github/workflows/issue_comment.yml deleted file mode 100644 index 795ce62..0000000 --- a/.github/workflows/issue_comment.yml +++ /dev/null @@ -1,15 +0,0 @@ -on: - issue_comment: - types: [created] -name: Commented Pull Request -jobs: - pullRequestHandler: - name: PullRequestHandler - runs-on: windows-latest - steps: - - uses: actions/checkout@main - - name: PullRequestHandler - uses: ScoopInstaller/GithubActions@main - if: startsWith(github.event.comment.body, '/verify') - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml deleted file mode 100644 index a7769f4..0000000 --- a/.github/workflows/issues.yml +++ /dev/null @@ -1,15 +0,0 @@ -on: - issues: - types: [opened, labeled] -name: Issues -jobs: - issueHandler: - name: IssueHandler - runs-on: windows-latest - steps: - - uses: actions/checkout@main - - name: IssueHandler - uses: ScoopInstaller/GithubActions@main - if: github.event.action == 'opened' || (github.event.action == 'labeled' && contains(github.event.issue.labels.*.name, 'verify')) - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml deleted file mode 100644 index 3e4d91f..0000000 --- a/.github/workflows/pull_request.yml +++ /dev/null @@ -1,14 +0,0 @@ -on: - pull_request: - types: [opened] -name: Pull Requests -jobs: - pullRequestHandler: - name: PullRequestHandler - runs-on: windows-latest - steps: - - uses: actions/checkout@main - - name: PullRequestHandler - uses: ScoopInstaller/GithubActions@main - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}