Skip to content

Commit

Permalink
ci: changing ubuntu-latest to ubuntu-22.04
Browse files Browse the repository at this point in the history
  • Loading branch information
sscheib committed Jul 21, 2024
1 parent 1c50037 commit 83dd88e
Show file tree
Hide file tree
Showing 18 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ansible-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:
jobs:
build:
name: 'Ansible Lint'
runs-on: 'ubuntu-latest'
runs-on: 'ubuntu-22.04'
permissions:
contents: 'read'
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:

jobs:
commitlint:
runs-on: 'ubuntu-latest'
runs-on: 'ubuntu-22.04'
permissions:
contents: 'read'
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependency_review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:
jobs:
dependency-review:
name: 'Dependency Review'
runs-on: 'ubuntu-latest'
runs-on: 'ubuntu-22.04'
permissions:
contents: 'read'
pull-requests: 'write'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/github_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ permissions:
jobs:
build_and_deploy:
name: 'Build and deploy documentation to GitHub Pages'
runs-on: 'ubuntu-latest'
runs-on: 'ubuntu-22.04'
permissions:
contents: 'write'
deployments: 'write'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gitleaks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions:
jobs:
gitleaks:
name: 'gitleaks'
runs-on: 'ubuntu-latest'
runs-on: 'ubuntu-22.04'
permissions:
contents: 'read'
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/kics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ permissions: 'read-all'
jobs:
analysis:
name: 'KICS analysis'
runs-on: 'ubuntu-latest'
runs-on: 'ubuntu-22.04'
permissions:
# Needed to upload the results to code-scanning dashboard.
security-events: 'write'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/markdown-link-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:
jobs:
build:
name: 'markdown-link-check'
runs-on: 'ubuntu-latest'
runs-on: 'ubuntu-22.04'
permissions:
contents: 'read'
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/markdownlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:
jobs:
build:
name: 'markdownlint'
runs-on: 'ubuntu-latest'
runs-on: 'ubuntu-22.04'
permissions:
contents: 'read'
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/molecule_certified_ees.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
if: >-
contains(github.event.pull_request.labels.*.name, 'run') ||
github.ref == 'refs/heads/main'
runs-on: 'ubuntu-latest'
runs-on: 'ubuntu-22.04'
permissions:
contents: 'read'
outputs:
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
if: >-
contains(github.event.pull_request.labels.*.name, 'run') ||
github.ref == 'refs/heads/main'
runs-on: 'ubuntu-latest'
runs-on: 'ubuntu-22.04'
permissions:
contents: 'read'
outputs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/molecule_community_ees.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ permissions:

jobs:
molecule-community-ees:
runs-on: 'ubuntu-latest'
runs-on: 'ubuntu-22.04'
permissions:
contents: 'read'
container:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
pre-commit:
permissions:
contents: 'write'
runs-on: 'ubuntu-latest'
runs-on: 'ubuntu-22.04'
steps:
- name: 'Harden Runner'
uses: 'step-security/harden-runner@0d381219ddf674d61a7572ddd19d7941e271515c' # v2.9.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/purge_caches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ permissions:
jobs:
purge-caches:
name: 'Purge caches'
runs-on: 'ubuntu-latest'
runs-on: 'ubuntu-22.04'
permissions:
actions: 'write'
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pyspelling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:
jobs:
pyspelling:
name: 'pyspelling'
runs-on: 'ubuntu-latest'
runs-on: 'ubuntu-22.04'
permissions:
contents: 'read'
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:
jobs:
check-secrets:
name: 'Check if required secrets are available'
runs-on: 'ubuntu-latest'
runs-on: 'ubuntu-22.04'
permissions:
contents: 'read'
outputs:
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
name: 'Publish to Ansible Galaxy'
if: "needs.check-secrets.outputs.secrets-defined == 'true'"
needs: 'check-secrets'
runs-on: 'ubuntu-latest'
runs-on: 'ubuntu-22.04'
permissions:
contents: 'write'
issues: 'write'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/remove_labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions:
jobs:
remove-label:
name: 'Remove run label on pull request synchronize'
runs-on: 'ubuntu-latest'
runs-on: 'ubuntu-22.04'
if: "github.base_ref == 'main'"
permissions:
pull-requests: 'write'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/renovate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ env:
jobs:
check-secrets:
name: 'Check if required secrets are available'
runs-on: 'ubuntu-latest'
runs-on: 'ubuntu-22.04'
permissions:
contents: 'read'
outputs:
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
name: 'Validate renovate configuration'
if: "needs.check-secrets.outputs.secrets-defined == 'true'"
needs: 'check-secrets'
runs-on: 'ubuntu-latest'
runs-on: 'ubuntu-22.04'
permissions:
contents: 'read'
steps:
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
npx --yes --package renovate -- renovate-config-validator --strict || exit 1
check-user-permissions:
runs-on: 'ubuntu-latest'
runs-on: 'ubuntu-22.04'
permissions:
contents: 'read'
needs: 'validate-config'
Expand Down Expand Up @@ -155,7 +155,7 @@ jobs:
echo "Job originally triggered by ${{ github.actor }}"
renovate:
runs-on: 'ubuntu-latest'
runs-on: 'ubuntu-22.04'
needs: 'check-user-permissions'
if: "needs.check-user-permissions.outputs.require-result == 'true'"
permissions:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ permissions: 'read-all'
jobs:
check-secrets:
name: 'Check if required secrets are available'
runs-on: 'ubuntu-latest'
runs-on: 'ubuntu-22.04'
permissions:
contents: 'read'
outputs:
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
name: 'Scorecard analysis'
if: "needs.check-secrets.outputs.secrets-defined == 'true'"
needs: 'check-secrets'
runs-on: 'ubuntu-latest'
runs-on: 'ubuntu-22.04'
permissions:
# Needed to upload the results to code-scanning dashboard.
security-events: 'write'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/wf_call_molecule_certified_ees.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ env:

jobs:
check-user-permissions:
runs-on: 'ubuntu-latest'
runs-on: 'ubuntu-22.04'
permissions:
contents: 'read'
outputs:
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
echo "Job originally triggered by ${{ github.actor }}"
molecule-certified-ees:
runs-on: 'ubuntu-latest'
runs-on: 'ubuntu-22.04'
needs: 'check-user-permissions'
if: "needs.check-user-permissions.outputs.require-result == 'true'"
permissions:
Expand Down

0 comments on commit 83dd88e

Please sign in to comment.