Skip to content

Commit

Permalink
chore: update remaining workflow files
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Selwyn-Smith <[email protected]>
  • Loading branch information
benmss committed Jan 17, 2025
1 parent db72aca commit 3d2e8cd
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#
# Even though we run the build in a matrix to check against different platforms, due to a known
# limitation of reusable workflows that do not support setting strategy property from the caller
# workflow, we only generate artifacts for ubuntu-latest and Python 3.11, which can be used to
# workflow, we only generate artifacts for ubuntu-22.04 and Python 3.11, which can be used to
# create a release. For details see:
#
# https://docs.github.com/en/actions/using-workflows/reusing-workflows#limitations
Expand Down Expand Up @@ -148,4 +148,4 @@ jobs:
artifact-sha256: ${{ needs.build.outputs.artifacts-sha256 }}
# TODO: use ${{ env.ARTIFACT_OS }} and ${{ env.ARTIFACT_PYTHON }}
# when this issue is addressed: https://github.com/actions/runner/issues/2394.
artifact-name: artifact-ubuntu-latest-python-3.11
artifact-name: artifact-ubuntu-22.04-python-3.11
4 changes: 2 additions & 2 deletions .github/workflows/_deploy-github-pages.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023 - 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2023 - 2025, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/.

# This workflow deploys the documentations to GitHub Pages.
Expand Down Expand Up @@ -26,7 +26,7 @@ jobs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:

- name: Check out repository
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_generate-rebase.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023 - 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2023 - 2025, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/.

# Automatically rebase one staging branch on top of main after a new package version was published.
Expand Down Expand Up @@ -32,7 +32,7 @@ permissions:

jobs:
rebase:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:

- name: Check out repository
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_release-notifications.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2022 - 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022 - 2025, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/.

# Send a Slack release notification. Instructions to set up Slack to receive
Expand Down Expand Up @@ -27,7 +27,7 @@ permissions: {}
jobs:
slack:
name: Slack release notification
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:

- name: Notify via Slack
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_base_image.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023 - 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2023 - 2025, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/.

# This workflow builds the base Docker image. The base image will be pushed to ghcr.io.
Expand All @@ -13,7 +13,7 @@ permissions:
jobs:
build-base-image:
name: Build base image
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
packages: write # To push the base Docker image.
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dependabot-automerge.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2022 - 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022 - 2025, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/.

# Automatically merge Dependabot PRs upon approval by leaving
Expand All @@ -15,7 +15,7 @@ permissions:
jobs:
comment:
if: ${{ github.event.review.state == 'approved' && github.event.pull_request.user.login == 'dependabot[bot]' }}
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Merge Dependabot PR
run: gh pr comment --body "@dependabot squash and merge" "$PR_URL"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr-conventional-commits.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2022 - 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022 - 2025, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/.

# This workflow lints the PR's title and commits. It uses the commitizen
Expand All @@ -21,7 +21,7 @@ permissions:

jobs:
conventional-commits:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:

- name: Check out repository
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2022 - 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022 - 2025, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/.

# We run checks on pushing to the specified branches.
Expand All @@ -13,7 +13,7 @@ on:
permissions:
contents: read
env:
ARTIFACT_NAME: artifact-ubuntu-latest-python-3.11
ARTIFACT_NAME: artifact-ubuntu-22.04-python-3.11
# This is the username and email for the user who commits and pushes the release
# commit. In an organisation that should be a dedicated devops account.
USER_NAME: behnazh-w
Expand All @@ -33,7 +33,7 @@ jobs:
bump:
needs: check
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
contents: write
steps:
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
release-url: ${{ steps.release-info.outputs.release-url }}
image-name: ${{ steps.push-docker.outputs.image-name }}
image-digest: ${{ steps.push-docker.outputs.image-digest }}
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
contents: write # To publish release notes.
packages: write # To push the Docker image.
Expand Down Expand Up @@ -299,7 +299,7 @@ jobs:
# publish_provenance:
# needs: [release, provenance]
# name: Publish provenance
# runs-on: ubuntu-latest
# runs-on: ubuntu-22.04
# permissions:
# contents: write # To publish release notes.
# steps:
Expand Down Expand Up @@ -331,7 +331,7 @@ jobs:
with:
# TODO: use ${{ env.ARTIFACT_NAME }} when this issue is addressed:
# https://github.com/actions/runner/issues/2394.
artifact-name: artifact-ubuntu-latest-python-3.11
artifact-name: artifact-ubuntu-22.04-python-3.11
artifact-sha256: ${{ needs.build.outputs.artifacts-sha256 }}

# Send out release notifications after the Release was published on GitHub.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/scorecards-analysis.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2022 - 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022 - 2025, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/.

# Run Scorecard for this repository to further check and harden software and process.
Expand All @@ -18,7 +18,7 @@ permissions: read-all
jobs:
analysis:
name: Scorecards 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

0 comments on commit 3d2e8cd

Please sign in to comment.