From 60a20b98f1cc93144244458454bbf851a2bd4df8 Mon Sep 17 00:00:00 2001 From: Ievgenii Shepeliuk Date: Thu, 27 Jun 2024 10:05:34 +0300 Subject: [PATCH] chore: rebase Signed-off-by: Ievgenii Shepeliuk --- .github/workflows/ci-check.yaml | 135 -------------------------------- .github/workflows/ci-rel.yaml | 6 +- 2 files changed, 3 insertions(+), 138 deletions(-) delete mode 100644 .github/workflows/ci-check.yaml diff --git a/.github/workflows/ci-check.yaml b/.github/workflows/ci-check.yaml deleted file mode 100644 index cbcdd5f..0000000 --- a/.github/workflows/ci-check.yaml +++ /dev/null @@ -1,135 +0,0 @@ -name: CI cog check - -on: - workflow_dispatch: {} - push: {} - -jobs: - all-success: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - path: cocogitto-action - - name: Initialise repository - run: | - git init - git config --global user.name 'Mona Lisa' - git config --global user.email 'mona.lisa@example.com' - echo 'cocogitto-action/' > .gitignore - echo '# Mona Lisa' > README.md - git add README.md .gitignore - git commit -m 'chore: add Mona Lisa docs' - - name: Run cocogitto-action - id: cog1 - uses: ./cocogitto-action - continue-on-error: true - with: - check: true - check-latest-tag-only: false - release: false - - name: Checks - run: | - [ "${{ steps.cog1.outcome }}" == 'success' ] || exit 1 - all-failure: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - path: cocogitto-action - - name: Initialise repository - run: | - git init - git config --global user.name 'Mona Lisa' - git config --global user.email 'mona.lisa@example.com' - echo 'cocogitto-action/' > .gitignore - echo '# Mona Lisa' > README.md - git add README.md .gitignore - git commit -m 'add Mona Lisa docs' - - name: Run cocogitto-action - id: cog1 - uses: ./cocogitto-action - continue-on-error: true - with: - check: true - check-latest-tag-only: false - release: false - - name: Checks - run: | - [ "${{ steps.cog1.outcome }}" == 'failure' ] || exit 1 - only-last-has-last: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - path: cocogitto-action - - name: Initialise repository - run: | - git init - git config --global user.name 'Mona Lisa' - git config --global user.email 'mona.lisa@example.com' - echo 'cocogitto-action/' > .gitignore - echo '# Mona Lisa' > README.md - git add README.md .gitignore - git commit -m 'add Mona Lisa docs' - git tag '0.1.0' - git commit --allow-empty -m 'feat: new cool feature' - - name: Run cocogitto-action - id: cog1 - uses: ./cocogitto-action - continue-on-error: true - with: - check: true - check-latest-tag-only: true - release: false - - run: | - git commit --allow-empty -m 'wrong commit format' - - name: Run cocogitto-action - id: cog2 - uses: ./cocogitto-action - continue-on-error: true - with: - check: true - check-latest-tag-only: true - release: false - - name: Checks - run: | - [ "${{ steps.cog1.outcome }}" == 'success' ] || exit 1 - [ "${{ steps.cog2.outcome }}" == 'failure' ] || exit 1 - only-last-no-last: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - path: cocogitto-action - - name: Initialise repository - run: | - git init - git config --global user.name 'Mona Lisa' - git config --global user.email 'mona.lisa@example.com' - echo 'cocogitto-action/' > .gitignore - echo '# Mona Lisa' > README.md - git add README.md .gitignore - git commit -m 'chore: add Mona Lisa docs' - - name: Run cocogitto-action - id: cog1 - uses: ./cocogitto-action - continue-on-error: true - with: - check: true - check-latest-tag-only: true - release: false - - run: | - git commit --allow-empty -m 'wrong commit format' - - name: Run cocogitto-action - id: cog2 - uses: ./cocogitto-action - continue-on-error: true - with: - check: true - check-latest-tag-only: true - release: false - - name: Checks - run: | - [ "${{ steps.cog1.outcome }}" == 'success' ] || exit 1 - [ "${{ steps.cog2.outcome }}" == 'failure' ] || exit 1 diff --git a/.github/workflows/ci-rel.yaml b/.github/workflows/ci-rel.yaml index 2a83a98..1848266 100644 --- a/.github/workflows/ci-rel.yaml +++ b/.github/workflows/ci-rel.yaml @@ -26,7 +26,7 @@ jobs: id: release uses: ./cocogitto-action with: - check: true + check: false release: true - name: Check outputs run: | @@ -51,7 +51,7 @@ jobs: id: release uses: ./cocogitto-action with: - check: true + check: false release: true - name: Check outputs run: | @@ -76,7 +76,7 @@ jobs: id: release uses: ./cocogitto-action with: - check: true + check: false release: true - name: Check outputs run: |