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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -23,7 +23,7 @@ on:
type: string
jobs:
close-issues:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@master
- name: close-resolved-issues
@@ -31,4 +31,4 @@ jobs:
env:
LABEL: ${{ github.event.inputs.issue_label || inputs.issue_label }}
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:
buildx:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
working-directory: ./packages/nocodb
steps:

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -21,7 +21,7 @@ jobs:
# enrich tag for pr release
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' }}
runs-on: 'ubuntu-latest'
runs-on: 'ubuntu-22.04'
steps:
- name: Checkout
uses: actions/checkout@v3
@@ -77,7 +77,7 @@ jobs:
# Add a comment for PR docker build
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' }}
runs-on: 'ubuntu-latest'
runs-on: 'ubuntu-22.04'
needs: [release-docker, set-tag]
steps:
- uses: peter-evans/commit-comment@v2
@@ -92,7 +92,7 @@ jobs:
preview-pull-request:
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' }}
runs-on: 'ubuntu-latest'
runs-on: 'ubuntu-22.04'
needs: [release-docker, set-tag]
outputs:
compose-file-cache-key: ${{ env.COMPOSE_FILE_HASH }}
@@ -127,7 +127,7 @@ jobs:
# Add a comment for PR executable build
# 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' }}
# runs-on: 'ubuntu-latest'
# runs-on: 'ubuntu-22.04'
# needs: [release-executables, set-tag]
# steps:
# - uses: peter-evans/commit-comment@v2
@@ -163,7 +163,7 @@ jobs:
# delete the uffizzi preview created off of this PR
delete-uffizzi-preview:
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' }}
steps:
# 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:
login:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
-
name: Login to Docker Hub

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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