From 82ae935abfaaae2ebc40196e30c749a617fc43d4 Mon Sep 17 00:00:00 2001 From: Jan Michek <15363559+janmichek@users.noreply.github.com> Date: Tue, 28 May 2024 15:55:29 +0200 Subject: [PATCH] feat: change action naming (#808) --- .github/workflows/ci-code.yml | 3 +-- .github/workflows/ci-pr.yml | 6 +++--- .github/workflows/dev-pipeline-mainnet.yml | 8 ++++---- .github/workflows/dev-pipeline-testnet.yml | 10 +++++----- .github/workflows/prd-pipeline-mainnet.yml | 4 ++-- .github/workflows/prd-pipeline-testnet.yml | 4 ++-- .github/workflows/stg-pipeline-mainnet.yml | 4 ++-- .github/workflows/stg-pipeline-testnet.yml | 6 +++--- 8 files changed, 22 insertions(+), 23 deletions(-) diff --git a/.github/workflows/ci-code.yml b/.github/workflows/ci-code.yml index 15cf550cb..808a504f0 100644 --- a/.github/workflows/ci-code.yml +++ b/.github/workflows/ci-code.yml @@ -1,4 +1,4 @@ -name: Code validation +name: Lint on: push: @@ -17,7 +17,6 @@ on: jobs: lint: - name: Code linting runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index 34f75a91e..f502866b5 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -1,4 +1,4 @@ -name: Pull Request validation +name: PR Title on: pull_request: @@ -12,7 +12,7 @@ on: jobs: pr-lint: - name: Validate PR title + name: 'validate' runs-on: ubuntu-latest steps: - uses: amannn/action-semantic-pull-request@v5 @@ -40,6 +40,6 @@ jobs: # Delete a previous comment when the issue has been resolved - if: ${{ steps.lint_pr_title.outputs.error_message == null }} uses: marocchino/sticky-pull-request-comment@v2 - with: + with: header: pr-title-lint-error delete: true diff --git a/.github/workflows/dev-pipeline-mainnet.yml b/.github/workflows/dev-pipeline-mainnet.yml index 322da83a4..9852a9927 100644 --- a/.github/workflows/dev-pipeline-mainnet.yml +++ b/.github/workflows/dev-pipeline-mainnet.yml @@ -1,10 +1,10 @@ -name: Develop pipelines - mainnet +name: Develop Mainnet on: push: branches: - develop - + env: ENV: "dev" APP: "aescan" @@ -15,12 +15,12 @@ jobs: main: runs-on: ubuntu-latest environment: develop - name: Develop Pipeline Aescan Frontend + name: build steps: - uses: actions/checkout@v3 with: fetch-depth: 0 - + - name: Get commit sha on PR Sync if: github.event_name == 'push' id: git-sha diff --git a/.github/workflows/dev-pipeline-testnet.yml b/.github/workflows/dev-pipeline-testnet.yml index cf8d2d2d5..c3beeda54 100644 --- a/.github/workflows/dev-pipeline-testnet.yml +++ b/.github/workflows/dev-pipeline-testnet.yml @@ -1,10 +1,10 @@ -name: Develop pipelines - testnet +name: Develop Testnet on: push: branches: - develop - + env: ENV: "dev" APP: "aescan-testnet" @@ -15,12 +15,12 @@ jobs: main: runs-on: ubuntu-latest environment: develop - name: Develop Pipeline Aescan Frontend Testnet + name: build steps: - uses: actions/checkout@v3 with: fetch-depth: 0 - + - name: Get commit sha on PR Sync if: github.event_name == 'push' id: git-sha @@ -58,7 +58,7 @@ jobs: images: aeternity/aescan tags: | type=raw,value=develop,enable=${{ endsWith(GitHub.ref, 'develop') }} - + - name: Create dotenv run: | echo APP_VERSION=$(git describe --tags)-dev >> .env diff --git a/.github/workflows/prd-pipeline-mainnet.yml b/.github/workflows/prd-pipeline-mainnet.yml index 4d75a919f..4fb05f5c1 100644 --- a/.github/workflows/prd-pipeline-mainnet.yml +++ b/.github/workflows/prd-pipeline-mainnet.yml @@ -1,4 +1,4 @@ -name: Production pipelines - mainnet +name: Production Mainnet on: push: @@ -15,7 +15,7 @@ jobs: main: runs-on: ubuntu-latest environment: production - name: Production Pipeline æScan Frontend + name: build steps: - uses: actions/checkout@v3 with: diff --git a/.github/workflows/prd-pipeline-testnet.yml b/.github/workflows/prd-pipeline-testnet.yml index adeb99731..fee17577b 100644 --- a/.github/workflows/prd-pipeline-testnet.yml +++ b/.github/workflows/prd-pipeline-testnet.yml @@ -1,4 +1,4 @@ -name: Production pipelines - testnet +name: Production Testnet on: push: @@ -15,7 +15,7 @@ jobs: main: runs-on: ubuntu-latest environment: production - name: Production Pipeline æScan Frontend Testnet + name: build steps: - uses: actions/checkout@v3 with: diff --git a/.github/workflows/stg-pipeline-mainnet.yml b/.github/workflows/stg-pipeline-mainnet.yml index 8e5745dfb..51fdad338 100644 --- a/.github/workflows/stg-pipeline-mainnet.yml +++ b/.github/workflows/stg-pipeline-mainnet.yml @@ -1,4 +1,4 @@ -name: Pull Request Preview pipelines +name: Preview Mainnet on: pull_request: @@ -17,7 +17,7 @@ concurrency: aescan_staging_environment-${{ github.ref }} jobs: main: runs-on: ubuntu-latest - name: Staging Pipeline Aescan Frontend + name: build steps: - uses: actions/checkout@v3 with: diff --git a/.github/workflows/stg-pipeline-testnet.yml b/.github/workflows/stg-pipeline-testnet.yml index 7482caa0c..8faba9f42 100644 --- a/.github/workflows/stg-pipeline-testnet.yml +++ b/.github/workflows/stg-pipeline-testnet.yml @@ -1,4 +1,4 @@ -name: Pull Request Preview pipelines Testnet +name: Preview Testnet on: pull_request: @@ -17,7 +17,7 @@ concurrency: aescan_staging_environment-${{ github.ref }} jobs: main: runs-on: ubuntu-latest - name: Staging Pipeline Aescan Frontend Testnet + name: build steps: - uses: actions/checkout@v3 with: @@ -148,7 +148,7 @@ jobs: end-to-end-tests: needs: main runs-on: ubuntu-22.04 - name: Run E2E Tests + name: E2E Tests timeout-minutes: 10 steps: - name: Wait for 4 minutes