Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ jobs:
get-runner-os:
outputs:
runner-os: ${{ steps.get-runner-os.outputs.runner_os }}
runs-on: ubuntu-22.04
runs-on: ubuntu-slim
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
jobs:
get-current-version:
name: Get new version string
runs-on: ubuntu-22.04
runs-on: ubuntu-slim
outputs:
current_version: ${{ steps.get-current-version.outputs.current_version }}
steps:
Expand All @@ -63,31 +63,31 @@
run: echo current_version=$(cat VERSION) >> $GITHUB_OUTPUT

get-new-version:
runs-on: ubuntu-22.04
runs-on: ubuntu-slim
needs: get-current-version
outputs:
new_version: ${{ steps.get-new-version.outputs.new_version }}
steps:
# Checkout branch where workflow is being called from
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
with:
egress-policy: audit

- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1

- name: Install library that parses PEP 440 versions
run: pip install parver -c requirements.txt
working-directory: .github/workflows

- name: Get new version
id: get-new-version
run: echo new_version=$(python3 .github/workflows/${CHANGE_VERSION_SCRIPT_NAME}.py "${CURRENT_VERSION}") >> $GITHUB_OUTPUT
env:
CURRENT_VERSION: ${{ needs.get-current-version.outputs.current_version }}
CHANGE_VERSION_SCRIPT_NAME: ${{ inputs.change }}

update-version-in-repo:

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
needs: get-new-version
uses: ./.github/workflows/update-version.yml
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/delete-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@

jobs:
delete-artifacts:
runs-on: ubuntu-22.04
runs-on: ubuntu-slim
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
with:
egress-policy: audit

- name: Remove artifacts with dev version
uses: geekyeggo/delete-artifact@f275313e70c08f6120db482d7a6b98377786765b # v5.1.0
with:
name: '*.build'

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}
2 changes: 1 addition & 1 deletion .github/workflows/dev-to-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
# This is always available, but the stage tests only use it if they're being run (i.e not skipped)
latest-dev-tag: ${{ steps.get-dev-tag.outputs.latest-dev-tag }}
run_stage_tests: ${{ steps.run_stage_tests.outputs.run_stage_tests }}
runs-on: ubuntu-22.04
runs-on: ubuntu-slim
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fast-forward-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,23 @@

jobs:
merge:
runs-on: ubuntu-22.04
runs-on: ubuntu-slim
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
with:
egress-policy: audit

- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
# Fetch the whole history to prevent unrelated history errors
fetch-depth: '0'
ref: ${{ inputs.base_branch }}
token: ${{ secrets.CLIENT_BOT_PAT }}

- name: Fast forward
run: git merge --ff-only ${{ inputs.ref_to_merge }}

- name: Upload changes to remote head branch
run: git push

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
4 changes: 2 additions & 2 deletions .github/workflows/smoke-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ jobs:
coverage-upload:
needs: generate-coverage-report
if: ${{ !cancelled() }}
runs-on: ubuntu-22.04
runs-on: ubuntu-slim
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
Expand All @@ -216,7 +216,7 @@ jobs:

stubtest:
needs: build
runs-on: ubuntu-22.04
runs-on: ubuntu-slim
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ on:
jobs:
update-version-in-repo:
name: Update version in repo
runs-on: ubuntu-22.04
runs-on: ubuntu-slim
outputs:
bump_sha: ${{ steps.get-bump-commit-sha.outputs.bump_sha }}
steps:
Expand Down
Loading