diff --git a/.github/workflows/main.yml b/.github/workflows/ci.yml similarity index 98% rename from .github/workflows/main.yml rename to .github/workflows/ci.yml index 5134dbd372f..c538ffb2de5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: run-checks +name: CI # Declare default permissions as read only. permissions: read-all @@ -16,7 +16,7 @@ concurrency: cancel-in-progress: true jobs: - linux-main-checks: + linux: # https://github.com/actions/virtual-environments#available-environments runs-on: ubuntu-latest strategy: @@ -189,7 +189,7 @@ jobs: timeout_minutes: 10 command: npm run funit - linux-headful-checks: + linux-headful: # https://github.com/actions/virtual-environments#available-environments runs-on: ubuntu-latest strategy: @@ -227,7 +227,7 @@ jobs: command: xvfb-run --auto-servernum npm run unit timeout_minutes: 10 - chrome-headless-checks: + chrome-headless: runs-on: ${{ matrix.os }} strategy: matrix: diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 0f1edf0b1b7..fc925b25806 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -6,7 +6,7 @@ on: - release-please-* jobs: - pre-publish: + pre-release: runs-on: ubuntu-latest permissions: contents: write diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4da1bf37bbb..ead3564e267 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -6,33 +6,7 @@ on: - v* jobs: - pre-publish: - runs-on: ubuntu-latest - permissions: - contents: write - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - ref: main - - name: Install dependencies - run: npm install - - name: Build - run: | - node utils/generate_version_file.js - IS_PRE_RELEASE=1 npm run doc - - name: Configure git - run: | - git config --global user.name 'actions-bot' - git config --global user.email '' - - name: Commit and push - run: | - git add -A - git commit -m "chore: freeze current version in code" - git push - publish: - needs: pre-publish runs-on: ubuntu-latest permissions: contents: read diff --git a/.github/workflows/scorecards-analysis.yml b/.github/workflows/scorecards-analysis.yml index 524e9b8358e..684fbe7cc5f 100644 --- a/.github/workflows/scorecards-analysis.yml +++ b/.github/workflows/scorecards-analysis.yml @@ -1,4 +1,5 @@ name: Scorecards supply-chain security + on: # Only the default branch is supported. branch_protection_rule: diff --git a/.github/workflows/tot.yml b/.github/workflows/tot-ci.yml similarity index 98% rename from .github/workflows/tot.yml rename to .github/workflows/tot-ci.yml index 94bda4c65b8..f467b324058 100644 --- a/.github/workflows/tot.yml +++ b/.github/workflows/tot-ci.yml @@ -1,4 +1,5 @@ -name: run-tot-checks +name: ToT CI + # Checks Puppeteer against the latest ToT build of Chromium. # Declare default permissions as read only. permissions: read-all @@ -11,7 +12,7 @@ on: - cron: '0 8 * * *' jobs: - linux-tot-checks: + linux: # https://github.com/actions/virtual-environments#available-environments runs-on: ubuntu-latest strategy: