chore: Update runner os to ubuntu-22.04 (#10400)

* chore: update runner os to ubuntu-22.04

Signed-off-by: Pranav C <pranavxc@gmail.com>

* docs: formatting

Signed-off-by: Pranav C <pranavxc@gmail.com>

---------

Signed-off-by: Pranav C <pranavxc@gmail.com>
This commit is contained in:
Pranav C
2025-02-04 14:15:59 +05:30
committed by GitHub
parent 1f3a836934
commit 2b27620d81
30 changed files with 42 additions and 41 deletions

View File

@@ -9,7 +9,7 @@ on:
jobs: jobs:
prepare: prepare:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
outputs: outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }} matrix: ${{ steps.set-matrix.outputs.matrix }}
steps: steps:
@@ -24,7 +24,7 @@ jobs:
echo "matrix=$MATRIX_JSON" >> $GITHUB_OUTPUT echo "matrix=$MATRIX_JSON" >> $GITHUB_OUTPUT
test: test:
needs: prepare needs: prepare
runs-on: ubuntu-latest runs-on: ubuntu-22.04
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:

View File

@@ -5,7 +5,7 @@ on:
- closed - closed
jobs: jobs:
cleanup: cleanup:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- name: Check out code - name: Check out code
uses: actions/checkout@v3 uses: actions/checkout@v3
@@ -31,4 +31,4 @@ jobs:
gh actions-cache delete $cacheKey -R $REPO -B $BRANCH --confirm gh actions-cache delete $cacheKey -R $REPO -B $BRANCH --confirm
done done
env: env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -12,7 +12,7 @@ on:
jobs: jobs:
commits_check_job: commits_check_job:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
name: Commits Check name: Commits Check
steps: steps:
- name: Get PR Commits - name: Get PR Commits

View File

@@ -7,7 +7,7 @@ on:
jobs: jobs:
push: push:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- uses: actions/github-script@v6 - uses: actions/github-script@v6
with: with:

View File

@@ -8,7 +8,7 @@ on:
jobs: jobs:
notify: notify:
name: 'Discord' name: 'Discord'
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- name: Discord notify - name: Discord notify
uses: rjstone/discord-webhook-notify@v1 uses: rjstone/discord-webhook-notify@v1

View File

@@ -28,7 +28,7 @@ on:
jobs: jobs:
pr-to-master: pr-to-master:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- run: | - run: |
echo 'triggering pr-to-master' echo 'triggering pr-to-master'
@@ -59,4 +59,4 @@ jobs:
env: env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
PULL_REQUEST: "${{ steps.cpr.outputs.pr_number }}" PULL_REQUEST: "${{ steps.cpr.outputs.pr_number }}"
MERGE_LABELS: "Bot: Automerge" MERGE_LABELS: "Bot: Automerge"

View File

@@ -11,7 +11,7 @@ on:
jobs: jobs:
copy-file: copy-file:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3

View File

@@ -8,7 +8,7 @@ on:
jobs: jobs:
copy-file: copy-file:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3

View File

@@ -12,7 +12,7 @@ on:
jobs: jobs:
copy-file: copy-file:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3

View File

@@ -8,7 +8,7 @@ on:
jobs: jobs:
doc-indexer: doc-indexer:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- name: Checkout Repository - name: Checkout Repository
uses: actions/checkout@v3 # You MUST checkout your repository first! uses: actions/checkout@v3 # You MUST checkout your repository first!

View File

@@ -11,7 +11,7 @@ on:
jobs: jobs:
copy-file: copy-file:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3

View File

@@ -10,7 +10,7 @@ on:
jobs: jobs:
copy-file: copy-file:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3

View File

@@ -11,7 +11,7 @@ on:
jobs: jobs:
copy-file: copy-file:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3

View File

@@ -23,7 +23,7 @@ on:
type: string type: string
jobs: jobs:
close-issues: close-issues:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@master
- name: close-resolved-issues - name: close-resolved-issues
@@ -31,4 +31,4 @@ jobs:
env: env:
LABEL: ${{ github.event.inputs.issue_label || inputs.issue_label }} LABEL: ${{ github.event.inputs.issue_label || inputs.issue_label }}
VERSION: ${{ github.event.inputs.version || inputs.version }} VERSION: ${{ github.event.inputs.version || inputs.version }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -41,7 +41,7 @@ on:
jobs: jobs:
buildx: buildx:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
env: env:
working-directory: ./packages/nocodb working-directory: ./packages/nocodb
steps: steps:

View File

@@ -37,7 +37,7 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:

View File

@@ -19,7 +19,7 @@ on:
required: true required: true
jobs: jobs:
build-executables: build-executables:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Get pnpm store directory - name: Get pnpm store directory
@@ -178,7 +178,7 @@ jobs:
publish-mac-executables-and-homebrew: publish-mac-executables-and-homebrew:
needs: [sign-mac-executables,build-executables] needs: [sign-mac-executables,build-executables]
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- uses: actions/download-artifact@master - uses: actions/download-artifact@master
with: with:

View File

@@ -10,7 +10,7 @@ on:
jobs: jobs:
# enrich tag for nightly auto release # enrich tag for nightly auto release
set-tag: set-tag:
runs-on: 'ubuntu-latest' runs-on: 'ubuntu-22.04'
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3

View File

@@ -13,7 +13,7 @@ on:
jobs: jobs:
# Validate Branch # Validate Branch
validate-branch: validate-branch:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- run: | - run: |
if [[ ${{ github.ref }} != 'refs/heads/master' ]]; then if [[ ${{ github.ref }} != 'refs/heads/master' ]]; then
@@ -23,7 +23,7 @@ jobs:
# Process Input # Process Input
process-input: process-input:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
needs: validate-branch needs: validate-branch
outputs: outputs:
target_tag: ${{ steps.process-input.outputs.target_tag }} target_tag: ${{ steps.process-input.outputs.target_tag }}

View File

@@ -33,7 +33,7 @@ on:
jobs: jobs:
release: release:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
env: env:
working-directory: ./packages/nocodb working-directory: ./packages/nocodb
steps: steps:

View File

@@ -21,7 +21,7 @@ jobs:
# enrich tag for pr release # enrich tag for pr release
set-tag: set-tag:
if: ${{ github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' && github.event.pull_request.draft == false && github.base_ref == 'develop' && github.event.action != 'closed' }} if: ${{ github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' && github.event.pull_request.draft == false && github.base_ref == 'develop' && github.event.action != 'closed' }}
runs-on: 'ubuntu-latest' runs-on: 'ubuntu-22.04'
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
@@ -77,7 +77,7 @@ jobs:
# Add a comment for PR docker build # Add a comment for PR docker build
leave-comment: leave-comment:
if: ${{ github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' && github.event.pull_request.draft == false && github.base_ref == 'develop' && github.event.action != 'closed' }} if: ${{ github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' && github.event.pull_request.draft == false && github.base_ref == 'develop' && github.event.action != 'closed' }}
runs-on: 'ubuntu-latest' runs-on: 'ubuntu-22.04'
needs: [release-docker, set-tag] needs: [release-docker, set-tag]
steps: steps:
- uses: peter-evans/commit-comment@v2 - uses: peter-evans/commit-comment@v2
@@ -92,7 +92,7 @@ jobs:
preview-pull-request: preview-pull-request:
name: "Trigger Uffizzi Preview" name: "Trigger Uffizzi Preview"
if: ${{ github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' && github.event.pull_request.draft == false && github.base_ref == 'develop' && github.event.action != 'closed' }} if: ${{ github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' && github.event.pull_request.draft == false && github.base_ref == 'develop' && github.event.action != 'closed' }}
runs-on: 'ubuntu-latest' runs-on: 'ubuntu-22.04'
needs: [release-docker, set-tag] needs: [release-docker, set-tag]
outputs: outputs:
compose-file-cache-key: ${{ env.COMPOSE_FILE_HASH }} compose-file-cache-key: ${{ env.COMPOSE_FILE_HASH }}
@@ -127,7 +127,7 @@ jobs:
# Add a comment for PR executable build # Add a comment for PR executable build
# leave-executable-comment: # leave-executable-comment:
# if: ${{ github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' && github.event.pull_request.draft == false && github.base_ref == 'develop' && github.event.action != 'closed' }} # if: ${{ github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' && github.event.pull_request.draft == false && github.base_ref == 'develop' && github.event.action != 'closed' }}
# runs-on: 'ubuntu-latest' # runs-on: 'ubuntu-22.04'
# needs: [release-executables, set-tag] # needs: [release-executables, set-tag]
# steps: # steps:
# - uses: peter-evans/commit-comment@v2 # - uses: peter-evans/commit-comment@v2
@@ -163,7 +163,7 @@ jobs:
# delete the uffizzi preview created off of this PR # delete the uffizzi preview created off of this PR
delete-uffizzi-preview: delete-uffizzi-preview:
name: Call for Preview Deletion name: Call for Preview Deletion
runs-on: ubuntu-latest runs-on: ubuntu-22.04
if: ${{ github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' && github.event.pull_request.draft == false && github.base_ref == 'develop' && github.event.action == 'closed' }} if: ${{ github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' && github.event.pull_request.draft == false && github.base_ref == 'develop' && github.event.action == 'closed' }}
steps: steps:
# If this PR is closing, we will not render a compose file nor pass it to the next workflow. # If this PR is closing, we will not render a compose file nor pass it to the next workflow.

View File

@@ -10,7 +10,7 @@ on:
jobs: jobs:
login: login:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- -
name: Login to Docker Hub name: Login to Docker Hub

View File

@@ -13,7 +13,7 @@ on:
required: true required: true
jobs: jobs:
build-and-publish: build-and-publish:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Setup pnpm - name: Setup pnpm
@@ -135,7 +135,7 @@ jobs:
publish-mac-executables: publish-mac-executables:
needs: [sign-mac-executables, build-and-publish] needs: [sign-mac-executables, build-and-publish]
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- uses: actions/download-artifact@master - uses: actions/download-artifact@master
with: with:

View File

@@ -41,7 +41,7 @@ on:
jobs: jobs:
buildx: buildx:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
env: env:
working-directory: ./packages/nocodb working-directory: ./packages/nocodb
steps: steps:

View File

@@ -19,7 +19,7 @@ on:
required: true required: true
jobs: jobs:
build-executables: build-executables:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
@@ -181,7 +181,7 @@ jobs:
publish-mac-executables: publish-mac-executables:
needs: sign-mac-executables needs: sign-mac-executables
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- uses: actions/download-artifact@master - uses: actions/download-artifact@master
with: with:

View File

@@ -7,7 +7,7 @@ on:
workflow_call: workflow_call:
jobs: jobs:
sync-to-develop: sync-to-develop:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v3 uses: actions/setup-node@v3

View File

@@ -10,7 +10,7 @@ on:
jobs: jobs:
cache-compose-file: cache-compose-file:
name: Cache Compose File name: Cache Compose File
runs-on: ubuntu-latest runs-on: ubuntu-22.04
if: ${{ github.event.workflow_run.conclusion == 'success' }} if: ${{ github.event.workflow_run.conclusion == 'success' }}
outputs: outputs:
compose-file-cache-key: ${{ steps.hash.outputs.COMPOSE_FILE_HASH }} compose-file-cache-key: ${{ steps.hash.outputs.COMPOSE_FILE_HASH }}

View File

@@ -15,7 +15,7 @@ on:
jobs: jobs:
unit-tests: unit-tests:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
strategy: strategy:
matrix: matrix:

View File

@@ -7,7 +7,7 @@ on:
workflow_call: workflow_call:
jobs: jobs:
release: release:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- name: Setup pnpm - name: Setup pnpm
uses: pnpm/action-setup@v4 uses: pnpm/action-setup@v4

View File

@@ -1,6 +1,7 @@
# Security Policy # Security Policy
### Reporting a Vulnerability ### Reporting a Vulnerability
Please report (suspected) security vulnerabilities to security@nocodb.com Please report (suspected) security vulnerabilities to security@nocodb.com
- You will receive a response from us within 7 working days. - You will receive a response from us within 7 working days.