diff --git a/.github/workflows/compress-json-schemas.yml b/.github/workflows/compress-json-schemas.yml index 9b87e5e3..eb4aaa81 100644 --- a/.github/workflows/compress-json-schemas.yml +++ b/.github/workflows/compress-json-schemas.yml @@ -1,32 +1,23 @@ # This is a basic workflow to help you get started with Actions -name: Compress Json Schemas - -# Controls when the action will run. +name: 🖥️ Compress Json Schemas on: - # Triggers the workflow on push or pull request events but only for the main branch push: branches: - main - # Allows you to run this workflow manually from the Actions tab workflow_dispatch: concurrency: group: compress-schemas cancel-in-progress: true -# A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: - # This workflow contains a single job called "build" build: - # The type of runner that the job will run on runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job + name: 🖥️ Compress Schemas steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - name: Checkout + - name: Checkout Repository uses: actions/checkout@v3 - uses: DaanV2/Json-Schema-Action-Compression@v2.1 @@ -34,12 +25,12 @@ jobs: with: specificationFile: "${{github.workspace}}/source/compress_specification.json" - - name: Commit changes + - name: ✏️ Commit changes continue-on-error: true run: | cd ${{github.workspace}} - git config --global user.email "Bot@Blockception.com" - git config --global user.name "Blockception[bot]" + git config --global user.email "Blockception@github.com" + git config --global user.name "Orbi[bot]" git add . git commit -m "auto: Generated Json Schemas" git push diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml index 0bbeb8c0..d8efb69f 100644 --- a/.github/workflows/dependabot.yml +++ b/.github/workflows/dependabot.yml @@ -5,16 +5,16 @@ permissions: pull-requests: write contents: write +concurrency: + group: dependabot-check + cancel-in-progress: false + jobs: dependabot: + name: Dependabot auto merge runs-on: ubuntu-latest if: ${{ github.actor == 'dependabot[bot]' }} steps: - - name: Dependabot metadata - id: metadata - uses: dependabot/fetch-metadata@v1.1.1 - with: - github-token: "${{ secrets.GITHUB_TOKEN }}" - name: Enable auto-merge for Dependabot PRs run: gh pr merge --auto --merge "$PR_URL" env: diff --git a/.github/workflows/format-json-files.yml b/.github/workflows/format-json-files.yml index 7bc89239..1fbbd109 100644 --- a/.github/workflows/format-json-files.yml +++ b/.github/workflows/format-json-files.yml @@ -45,6 +45,6 @@ jobs: run: | git add . git config --global user.email "Bot@Blockception.com" - git config --global user.name "Blockception[bot]" + git config --global user.name "Orbi[bot]" git commit -m "auto: Formatted json files" git push diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 306ced75..14a089ac 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -1,8 +1,7 @@ # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created # For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages -name: Pull Request - +name: PR on: push: branches: @@ -13,7 +12,7 @@ on: jobs: build: - name: Build Check + name: 🛠️ Build Check runs-on: ubuntu-latest steps: - name: Checkout Repository @@ -26,14 +25,14 @@ jobs: cache-dependency-path: package-lock.json node-version-file: .nvmrc - - name: Install + - name: Setup Project run: npm ci - - name: Build + - name: 🛠️ Build Check run: npm run compile lint: - name: Lint Check + name: 🔍 Lint Check runs-on: ubuntu-latest steps: - name: Checkout Repository @@ -46,14 +45,14 @@ jobs: cache-dependency-path: package-lock.json node-version-file: .nvmrc - - name: Install + - name: Setup Project run: npm ci - - name: Build + - name: 🔍 Linting check run: npm run lint test: - name: Unit Test ${{ matrix.os }} + name: 📋 Unit Test ${{ matrix.os }} runs-on: ${{ matrix.os }} needs: [build] strategy: @@ -72,8 +71,8 @@ jobs: cache-dependency-path: package-lock.json node-version-file: .nvmrc - - name: Install + - name: Setup Project run: npm ci - - name: Test + - name: 📋 Test run: npm test