From 0b2e30bb218d24811cf9a9cc34d16bb87b78c8e3 Mon Sep 17 00:00:00 2001 From: Lionel Untereiner Date: Mon, 18 Mar 2024 15:47:28 +0100 Subject: [PATCH] linting --- .github/workflows/ci_tests.yml | 3 +-- .github/workflows/deploy.yml | 49 ---------------------------------- 2 files changed, 1 insertion(+), 51 deletions(-) delete mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/ci_tests.yml b/.github/workflows/ci_tests.yml index 58b177644cd..0d6b46f2726 100644 --- a/.github/workflows/ci_tests.yml +++ b/.github/workflows/ci_tests.yml @@ -5,7 +5,7 @@ on: branches: - develop pull_request: - types: [edited] + types: [opened, synchronize, reopened, edited] workflow_dispatch: # Cancels in-progress workflows for a PR when updated @@ -17,7 +17,6 @@ concurrency: jobs: semantic_pull_request: - if: ${{ github.event.action }} == 'edited' permissions: pull-requests: write # for amannn/action-semantic-pull-request to analyze PRs and statuses: write # for amannn/action-semantic-pull-request to mark status of analyzed PR diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index 31d17f8b827..00000000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,49 +0,0 @@ -name: Deploy - -on: - pull_request: - workflow_dispatch: - -env: - BUMP_BEHAVIOR: Monday - -jobs: - deploy: - runs-on: ubuntu-latest - - steps: - - name: Checkout Code - uses: actions/checkout@v4 - - - name: Detect API Change - id: changed-api - uses: tj-actions/changed-files@v43 - with: - # Avoid using single or double quotes for multiline patterns - files: | - src/coreComponents/schema/**/*.{xsd,rst} - - - name: Run step if test file(s) change - if: steps.changed-api.outputs.any_changed == 'true' - env: - BUMP_BEHAVIOR: "major" - run: | - echo "Must be a major change" - - - name: Get Next Version - id: semver - uses: ietf-tools/semver-action@v1 - with: - token: ${{ github.token }} - branch: develop - noVersionBumpBehavior: patch - - - name: Create Release - uses: ncipollo/release-action@v1.12.0 - with: - allowUpdates: true - draft: false - makeLatest: true - name: ${{ steps.semver.outputs.next }} - body: Changelog Contents - token: ${{ github.token }} \ No newline at end of file