Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass runner version as environment variable in workflow #3318

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

joshmgross
Copy link
Member

It's recommended to pass expressions into actions/github-script via env - this avoids issues with special characters or other syntax that could be interpreted as JavaScript.

https://github.com/actions/github-script#use-env-as-input

This also serves to avoid any potential script injections - https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable

@joshmgross joshmgross requested a review from a team as a code owner June 6, 2024 16:58
@joshmgross joshmgross merged commit 3f28dd8 into main Jun 10, 2024
10 checks passed
@joshmgross joshmgross deleted the joshmgross/runner-version-workflow branch June 10, 2024 22:13
kireque referenced this pull request in kireque/home-ops Jul 26, 2024
…0 → 2.318.0 ) (#827)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[ghcr.io/onedr0p/actions-runner](https://ghcr.io/onedr0p/actions-runner)
([source](https://togithub.com/actions/runner)) | minor | `2.317.0` ->
`2.318.0` |

---

### Release Notes

<details>
<summary>actions/runner (ghcr.io/onedr0p/actions-runner)</summary>

###
[`v2.318.0`](https://togithub.com/actions/runner/releases/tag/v2.318.0)

[Compare
Source](https://togithub.com/actions/runner/compare/v2.317.0...v2.318.0)

##### What's Changed

- Update Docker to v27.1.1 by
[@&#8203;TingluoHuang](https://togithub.com/TingluoHuang) in
[https://github.com/actions/runner/pull/3401](https://togithub.com/actions/runner/pull/3401)
- Upgrade dotnet sdk to v8.0.303 in
[https://github.com/actions/runner/pull/3388](https://togithub.com/actions/runner/pull/3388)
- Rephrase node20 warning by
[@&#8203;rentziass](https://togithub.com/rentziass) in
[https://github.com/actions/runner/pull/3376](https://togithub.com/actions/runner/pull/3376)
- Bump hook version to 0.6.1 by
[@&#8203;nikola-jokic](https://togithub.com/nikola-jokic) in
[https://github.com/actions/runner/pull/3350](https://togithub.com/actions/runner/pull/3350)
- Backoff to avoid excessive retries to Run Service in a duration by
[@&#8203;ericsciple](https://togithub.com/ericsciple) in
[https://github.com/actions/runner/pull/3354](https://togithub.com/actions/runner/pull/3354)
- Bump System.Security.Cryptography.Pkcs from 5.0.0 to 8.0.0 in /src in
[https://github.com/actions/runner/pull/3347](https://togithub.com/actions/runner/pull/3347)
- Upgrade dotnet sdk to v8.0.302 in
[https://github.com/actions/runner/pull/3346](https://togithub.com/actions/runner/pull/3346)
- Bump runner to dotnet 8 by
[@&#8203;TingluoHuang](https://togithub.com/TingluoHuang) in
[https://github.com/actions/runner/pull/3345](https://togithub.com/actions/runner/pull/3345)
- Pass runner version as environment variable in workflow by
[@&#8203;joshmgross](https://togithub.com/joshmgross) in
[https://github.com/actions/runner/pull/3318](https://togithub.com/actions/runner/pull/3318)
- Make sure we mask secrets when reporting telemetry by
[@&#8203;TingluoHuang](https://togithub.com/TingluoHuang) in
[https://github.com/actions/runner/pull/3315](https://togithub.com/actions/runner/pull/3315)
- Bump docker version and docker buildx version by
[@&#8203;int128](https://togithub.com/int128) in
[https://github.com/actions/runner/pull/3277](https://togithub.com/actions/runner/pull/3277)

**Full Changelog**:
actions/runner@v2.317.0...v2.318.0

*Note: Actions Runner follows a progressive release policy, so the
latest release might not be available to your enterprise, organization,
or repository yet.
To confirm which version of the Actions Runner you should expect, please
view the download instructions for your enterprise, organization, or
repository.
See
https://docs.github.com/en/enterprise-cloud@latest/actions/hosting-your-own-runners/adding-self-hosted-runners*

##### Windows x64

We recommend configuring the runner in a root folder of the Windows
drive (e.g. "C:\actions-runner"). This will help avoid issues related to
service identity folder permissions and long file path restrictions on
Windows.

The following snipped needs to be run on `powershell`:

```powershell

##### Create a folder under the drive root
mkdir \actions-runner ; cd \actions-runner

##### Download the latest runner package
Invoke-WebRequest -Uri https://github.com/actions/runner/releases/download/v2.318.0/actions-runner-win-x64-2.318.0.zip -OutFile actions-runner-win-x64-2.318.0.zip

##### Extract the installer
Add-Type -AssemblyName System.IO.Compression.FileSystem ;
[System.IO.Compression.ZipFile]::ExtractToDirectory("$PWD\actions-runner-win-x64-2.318.0.zip", "$PWD")
```

##### \[Pre-release] Windows arm64

**Warning:** Windows arm64 runners are currently in preview status and
use [unofficial versions of
nodejs](https://unofficial-builds.nodejs.org/). They are not intended
for production workflows.

We recommend configuring the runner in a root folder of the Windows
drive (e.g. "C:\actions-runner"). This will help avoid issues related to
service identity folder permissions and long file path restrictions on
Windows.

The following snipped needs to be run on `powershell`:

```powershell

##### Create a folder under the drive root
mkdir \actions-runner ; cd \actions-runner

##### Download the latest runner package
Invoke-WebRequest -Uri https://github.com/actions/runner/releases/download/v2.318.0/actions-runner-win-arm64-2.318.0.zip -OutFile actions-runner-win-arm64-2.318.0.zip

##### Extract the installer
Add-Type -AssemblyName System.IO.Compression.FileSystem ;
[System.IO.Compression.ZipFile]::ExtractToDirectory("$PWD\actions-runner-win-arm64-2.318.0.zip", "$PWD")
```

##### OSX x64

```bash

##### Create a folder
mkdir actions-runner && cd actions-runner

##### Download the latest runner package
curl -O -L https://github.com/actions/runner/releases/download/v2.318.0/actions-runner-osx-x64-2.318.0.tar.gz

##### Extract the installer
tar xzf ./actions-runner-osx-x64-2.318.0.tar.gz
```

##### OSX arm64 (Apple silicon)

```bash

##### Create a folder
mkdir actions-runner && cd actions-runner

##### Download the latest runner package
curl -O -L https://github.com/actions/runner/releases/download/v2.318.0/actions-runner-osx-arm64-2.318.0.tar.gz

##### Extract the installer
tar xzf ./actions-runner-osx-arm64-2.318.0.tar.gz
```

##### Linux x64

```bash

##### Create a folder
mkdir actions-runner && cd actions-runner

##### Download the latest runner package
curl -O -L https://github.com/actions/runner/releases/download/v2.318.0/actions-runner-linux-x64-2.318.0.tar.gz

##### Extract the installer
tar xzf ./actions-runner-linux-x64-2.318.0.tar.gz
```

##### Linux arm64

```bash

##### Create a folder
mkdir actions-runner && cd actions-runner

##### Download the latest runner package
curl -O -L https://github.com/actions/runner/releases/download/v2.318.0/actions-runner-linux-arm64-2.318.0.tar.gz

##### Extract the installer
tar xzf ./actions-runner-linux-arm64-2.318.0.tar.gz
```

##### Linux arm

```bash

##### Create a folder
mkdir actions-runner && cd actions-runner

##### Download the latest runner package
curl -O -L https://github.com/actions/runner/releases/download/v2.318.0/actions-runner-linux-arm-2.318.0.tar.gz

##### Extract the installer
tar xzf ./actions-runner-linux-arm-2.318.0.tar.gz
```

##### Using your self hosted runner

For additional details about configuring, running, or shutting down the
runner please check out our [product
docs.](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/adding-self-hosted-runners)

##### SHA-256 Checksums

The SHA-256 checksums for the packages included in this build are shown
below:

- actions-runner-win-x64-2.318.0.zip <!-- BEGIN SHA win-x64
-->35e41033097bda057333718fd0a923650c505ed214437f89328b6c07dc25b45d<!--
END SHA win-x64 -->
- actions-runner-win-arm64-2.318.0.zip <!-- BEGIN SHA win-arm64
-->56263cd9002c4b38d649cd6772cc5873e6df1c537c58af58b72cd7a5873b4ae3<!--
END SHA win-arm64 -->
- actions-runner-osx-x64-2.318.0.tar.gz <!-- BEGIN SHA osx-x64
-->d5d5ae1138595063958ceb6141bb30fdfb63afe6a9859dee29f0fa56474bd386<!--
END SHA osx-x64 -->
- actions-runner-osx-arm64-2.318.0.tar.gz <!-- BEGIN SHA osx-arm64
-->52c8b7200587e0d461e61657a20db2b798ef3c88e41ff1ee435b770cd648b41e<!--
END SHA osx-arm64 -->
- actions-runner-linux-x64-2.318.0.tar.gz <!-- BEGIN SHA linux-x64
-->28ed88e4cedf0fc93201a901e392a70463dbd0213f2ce9d57a4ab495027f3e2f<!--
END SHA linux-x64 -->
- actions-runner-linux-arm64-2.318.0.tar.gz <!-- BEGIN SHA linux-arm64
-->c4d03f1fdfc74e4e29cc403917be2bb24a714740bd250401fba5a4670e2c6070<!--
END SHA linux-arm64 -->
- actions-runner-linux-arm-2.318.0.tar.gz <!-- BEGIN SHA linux-arm
-->34e95530fc31c3678ead5a423414103fdf7513ed245268e6e741c94c55e653a1<!--
END SHA linux-arm -->

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44LjAiLCJ1cGRhdGVkSW5WZXIiOiIzOC44LjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvbWlub3IiXX0=-->

Co-authored-by: kireque-bot[bot] <143391978+kireque-bot[bot]@users.noreply.github.com>
szinn referenced this pull request in szinn/k8s-homelab Jul 26, 2024
…0 → 2.318.0 ) (#4043)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [ghcr.io/actions/actions-runner](https://togithub.com/actions/runner)
| minor | `2.317.0` -> `2.318.0` |

---

### Release Notes

<details>
<summary>actions/runner (ghcr.io/actions/actions-runner)</summary>

###
[`v2.318.0`](https://togithub.com/actions/runner/releases/tag/v2.318.0)

[Compare
Source](https://togithub.com/actions/runner/compare/v2.317.0...v2.318.0)

##### What's Changed

- Update Docker to v27.1.1 by
[@&#8203;TingluoHuang](https://togithub.com/TingluoHuang) in
[https://github.com/actions/runner/pull/3401](https://togithub.com/actions/runner/pull/3401)
- Upgrade dotnet sdk to v8.0.303 in
[https://github.com/actions/runner/pull/3388](https://togithub.com/actions/runner/pull/3388)
- Rephrase node20 warning by
[@&#8203;rentziass](https://togithub.com/rentziass) in
[https://github.com/actions/runner/pull/3376](https://togithub.com/actions/runner/pull/3376)
- Bump hook version to 0.6.1 by
[@&#8203;nikola-jokic](https://togithub.com/nikola-jokic) in
[https://github.com/actions/runner/pull/3350](https://togithub.com/actions/runner/pull/3350)
- Backoff to avoid excessive retries to Run Service in a duration by
[@&#8203;ericsciple](https://togithub.com/ericsciple) in
[https://github.com/actions/runner/pull/3354](https://togithub.com/actions/runner/pull/3354)
- Bump System.Security.Cryptography.Pkcs from 5.0.0 to 8.0.0 in /src in
[https://github.com/actions/runner/pull/3347](https://togithub.com/actions/runner/pull/3347)
- Upgrade dotnet sdk to v8.0.302 in
[https://github.com/actions/runner/pull/3346](https://togithub.com/actions/runner/pull/3346)
- Bump runner to dotnet 8 by
[@&#8203;TingluoHuang](https://togithub.com/TingluoHuang) in
[https://github.com/actions/runner/pull/3345](https://togithub.com/actions/runner/pull/3345)
- Pass runner version as environment variable in workflow by
[@&#8203;joshmgross](https://togithub.com/joshmgross) in
[https://github.com/actions/runner/pull/3318](https://togithub.com/actions/runner/pull/3318)
- Make sure we mask secrets when reporting telemetry by
[@&#8203;TingluoHuang](https://togithub.com/TingluoHuang) in
[https://github.com/actions/runner/pull/3315](https://togithub.com/actions/runner/pull/3315)
- Bump docker version and docker buildx version by
[@&#8203;int128](https://togithub.com/int128) in
[https://github.com/actions/runner/pull/3277](https://togithub.com/actions/runner/pull/3277)

**Full Changelog**:
actions/runner@v2.317.0...v2.318.0

*Note: Actions Runner follows a progressive release policy, so the
latest release might not be available to your enterprise, organization,
or repository yet.
To confirm which version of the Actions Runner you should expect, please
view the download instructions for your enterprise, organization, or
repository.
See
https://docs.github.com/en/enterprise-cloud@latest/actions/hosting-your-own-runners/adding-self-hosted-runners*

##### Windows x64

We recommend configuring the runner in a root folder of the Windows
drive (e.g. "C:\actions-runner"). This will help avoid issues related to
service identity folder permissions and long file path restrictions on
Windows.

The following snipped needs to be run on `powershell`:

```powershell

##### Create a folder under the drive root
mkdir \actions-runner ; cd \actions-runner

##### Download the latest runner package
Invoke-WebRequest -Uri https://github.com/actions/runner/releases/download/v2.318.0/actions-runner-win-x64-2.318.0.zip -OutFile actions-runner-win-x64-2.318.0.zip

##### Extract the installer
Add-Type -AssemblyName System.IO.Compression.FileSystem ;
[System.IO.Compression.ZipFile]::ExtractToDirectory("$PWD\actions-runner-win-x64-2.318.0.zip", "$PWD")
```

##### \[Pre-release] Windows arm64

**Warning:** Windows arm64 runners are currently in preview status and
use [unofficial versions of
nodejs](https://unofficial-builds.nodejs.org/). They are not intended
for production workflows.

We recommend configuring the runner in a root folder of the Windows
drive (e.g. "C:\actions-runner"). This will help avoid issues related to
service identity folder permissions and long file path restrictions on
Windows.

The following snipped needs to be run on `powershell`:

```powershell

##### Create a folder under the drive root
mkdir \actions-runner ; cd \actions-runner

##### Download the latest runner package
Invoke-WebRequest -Uri https://github.com/actions/runner/releases/download/v2.318.0/actions-runner-win-arm64-2.318.0.zip -OutFile actions-runner-win-arm64-2.318.0.zip

##### Extract the installer
Add-Type -AssemblyName System.IO.Compression.FileSystem ;
[System.IO.Compression.ZipFile]::ExtractToDirectory("$PWD\actions-runner-win-arm64-2.318.0.zip", "$PWD")
```

##### OSX x64

```bash

##### Create a folder
mkdir actions-runner && cd actions-runner

##### Download the latest runner package
curl -O -L https://github.com/actions/runner/releases/download/v2.318.0/actions-runner-osx-x64-2.318.0.tar.gz

##### Extract the installer
tar xzf ./actions-runner-osx-x64-2.318.0.tar.gz
```

##### OSX arm64 (Apple silicon)

```bash

##### Create a folder
mkdir actions-runner && cd actions-runner

##### Download the latest runner package
curl -O -L https://github.com/actions/runner/releases/download/v2.318.0/actions-runner-osx-arm64-2.318.0.tar.gz

##### Extract the installer
tar xzf ./actions-runner-osx-arm64-2.318.0.tar.gz
```

##### Linux x64

```bash

##### Create a folder
mkdir actions-runner && cd actions-runner

##### Download the latest runner package
curl -O -L https://github.com/actions/runner/releases/download/v2.318.0/actions-runner-linux-x64-2.318.0.tar.gz

##### Extract the installer
tar xzf ./actions-runner-linux-x64-2.318.0.tar.gz
```

##### Linux arm64

```bash

##### Create a folder
mkdir actions-runner && cd actions-runner

##### Download the latest runner package
curl -O -L https://github.com/actions/runner/releases/download/v2.318.0/actions-runner-linux-arm64-2.318.0.tar.gz

##### Extract the installer
tar xzf ./actions-runner-linux-arm64-2.318.0.tar.gz
```

##### Linux arm

```bash

##### Create a folder
mkdir actions-runner && cd actions-runner

##### Download the latest runner package
curl -O -L https://github.com/actions/runner/releases/download/v2.318.0/actions-runner-linux-arm-2.318.0.tar.gz

##### Extract the installer
tar xzf ./actions-runner-linux-arm-2.318.0.tar.gz
```

##### Using your self hosted runner

For additional details about configuring, running, or shutting down the
runner please check out our [product
docs.](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/adding-self-hosted-runners)

##### SHA-256 Checksums

The SHA-256 checksums for the packages included in this build are shown
below:

- actions-runner-win-x64-2.318.0.zip <!-- BEGIN SHA win-x64
-->35e41033097bda057333718fd0a923650c505ed214437f89328b6c07dc25b45d<!--
END SHA win-x64 -->
- actions-runner-win-arm64-2.318.0.zip <!-- BEGIN SHA win-arm64
-->56263cd9002c4b38d649cd6772cc5873e6df1c537c58af58b72cd7a5873b4ae3<!--
END SHA win-arm64 -->
- actions-runner-osx-x64-2.318.0.tar.gz <!-- BEGIN SHA osx-x64
-->d5d5ae1138595063958ceb6141bb30fdfb63afe6a9859dee29f0fa56474bd386<!--
END SHA osx-x64 -->
- actions-runner-osx-arm64-2.318.0.tar.gz <!-- BEGIN SHA osx-arm64
-->52c8b7200587e0d461e61657a20db2b798ef3c88e41ff1ee435b770cd648b41e<!--
END SHA osx-arm64 -->
- actions-runner-linux-x64-2.318.0.tar.gz <!-- BEGIN SHA linux-x64
-->28ed88e4cedf0fc93201a901e392a70463dbd0213f2ce9d57a4ab495027f3e2f<!--
END SHA linux-x64 -->
- actions-runner-linux-arm64-2.318.0.tar.gz <!-- BEGIN SHA linux-arm64
-->c4d03f1fdfc74e4e29cc403917be2bb24a714740bd250401fba5a4670e2c6070<!--
END SHA linux-arm64 -->
- actions-runner-linux-arm-2.318.0.tar.gz <!-- BEGIN SHA linux-arm
-->34e95530fc31c3678ead5a423414103fdf7513ed245268e6e741c94c55e653a1<!--
END SHA linux-arm -->

</details>

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44LjAiLCJ1cGRhdGVkSW5WZXIiOiIzOC44LjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvbWlub3IiXX0=-->

Co-authored-by: repo-jeeves[bot] <106431701+repo-jeeves[bot]@users.noreply.github.com>
coolguy1771 referenced this pull request in coolguy1771/home-ops Jul 26, 2024
…318.0 ) (#5116)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[ghcr.io/onedr0p/actions-runner](https://ghcr.io/onedr0p/actions-runner)
([source](https://togithub.com/actions/runner)) | minor | `2.317.0` ->
`2.318.0` |

---

### Release Notes

<details>
<summary>actions/runner (ghcr.io/onedr0p/actions-runner)</summary>

###
[`v2.318.0`](https://togithub.com/actions/runner/releases/tag/v2.318.0)

[Compare
Source](https://togithub.com/actions/runner/compare/v2.317.0...v2.318.0)

##### What's Changed

- Update Docker to v27.1.1 by
[@&#8203;TingluoHuang](https://togithub.com/TingluoHuang) in
[https://github.com/actions/runner/pull/3401](https://togithub.com/actions/runner/pull/3401)
- Upgrade dotnet sdk to v8.0.303 in
[https://github.com/actions/runner/pull/3388](https://togithub.com/actions/runner/pull/3388)
- Rephrase node20 warning by
[@&#8203;rentziass](https://togithub.com/rentziass) in
[https://github.com/actions/runner/pull/3376](https://togithub.com/actions/runner/pull/3376)
- Bump hook version to 0.6.1 by
[@&#8203;nikola-jokic](https://togithub.com/nikola-jokic) in
[https://github.com/actions/runner/pull/3350](https://togithub.com/actions/runner/pull/3350)
- Backoff to avoid excessive retries to Run Service in a duration by
[@&#8203;ericsciple](https://togithub.com/ericsciple) in
[https://github.com/actions/runner/pull/3354](https://togithub.com/actions/runner/pull/3354)
- Bump System.Security.Cryptography.Pkcs from 5.0.0 to 8.0.0 in /src in
[https://github.com/actions/runner/pull/3347](https://togithub.com/actions/runner/pull/3347)
- Upgrade dotnet sdk to v8.0.302 in
[https://github.com/actions/runner/pull/3346](https://togithub.com/actions/runner/pull/3346)
- Bump runner to dotnet 8 by
[@&#8203;TingluoHuang](https://togithub.com/TingluoHuang) in
[https://github.com/actions/runner/pull/3345](https://togithub.com/actions/runner/pull/3345)
- Pass runner version as environment variable in workflow by
[@&#8203;joshmgross](https://togithub.com/joshmgross) in
[https://github.com/actions/runner/pull/3318](https://togithub.com/actions/runner/pull/3318)
- Make sure we mask secrets when reporting telemetry by
[@&#8203;TingluoHuang](https://togithub.com/TingluoHuang) in
[https://github.com/actions/runner/pull/3315](https://togithub.com/actions/runner/pull/3315)
- Bump docker version and docker buildx version by
[@&#8203;int128](https://togithub.com/int128) in
[https://github.com/actions/runner/pull/3277](https://togithub.com/actions/runner/pull/3277)

**Full Changelog**:
actions/runner@v2.317.0...v2.318.0

*Note: Actions Runner follows a progressive release policy, so the
latest release might not be available to your enterprise, organization,
or repository yet.
To confirm which version of the Actions Runner you should expect, please
view the download instructions for your enterprise, organization, or
repository.
See
https://docs.github.com/en/enterprise-cloud@latest/actions/hosting-your-own-runners/adding-self-hosted-runners*

##### Windows x64

We recommend configuring the runner in a root folder of the Windows
drive (e.g. "C:\actions-runner"). This will help avoid issues related to
service identity folder permissions and long file path restrictions on
Windows.

The following snipped needs to be run on `powershell`:

```powershell

##### Create a folder under the drive root
mkdir \actions-runner ; cd \actions-runner

##### Download the latest runner package
Invoke-WebRequest -Uri https://github.com/actions/runner/releases/download/v2.318.0/actions-runner-win-x64-2.318.0.zip -OutFile actions-runner-win-x64-2.318.0.zip

##### Extract the installer
Add-Type -AssemblyName System.IO.Compression.FileSystem ;
[System.IO.Compression.ZipFile]::ExtractToDirectory("$PWD\actions-runner-win-x64-2.318.0.zip", "$PWD")
```

##### \[Pre-release] Windows arm64

**Warning:** Windows arm64 runners are currently in preview status and
use [unofficial versions of
nodejs](https://unofficial-builds.nodejs.org/). They are not intended
for production workflows.

We recommend configuring the runner in a root folder of the Windows
drive (e.g. "C:\actions-runner"). This will help avoid issues related to
service identity folder permissions and long file path restrictions on
Windows.

The following snipped needs to be run on `powershell`:

```powershell

##### Create a folder under the drive root
mkdir \actions-runner ; cd \actions-runner

##### Download the latest runner package
Invoke-WebRequest -Uri https://github.com/actions/runner/releases/download/v2.318.0/actions-runner-win-arm64-2.318.0.zip -OutFile actions-runner-win-arm64-2.318.0.zip

##### Extract the installer
Add-Type -AssemblyName System.IO.Compression.FileSystem ;
[System.IO.Compression.ZipFile]::ExtractToDirectory("$PWD\actions-runner-win-arm64-2.318.0.zip", "$PWD")
```

##### OSX x64

```bash

##### Create a folder
mkdir actions-runner && cd actions-runner

##### Download the latest runner package
curl -O -L https://github.com/actions/runner/releases/download/v2.318.0/actions-runner-osx-x64-2.318.0.tar.gz

##### Extract the installer
tar xzf ./actions-runner-osx-x64-2.318.0.tar.gz
```

##### OSX arm64 (Apple silicon)

```bash

##### Create a folder
mkdir actions-runner && cd actions-runner

##### Download the latest runner package
curl -O -L https://github.com/actions/runner/releases/download/v2.318.0/actions-runner-osx-arm64-2.318.0.tar.gz

##### Extract the installer
tar xzf ./actions-runner-osx-arm64-2.318.0.tar.gz
```

##### Linux x64

```bash

##### Create a folder
mkdir actions-runner && cd actions-runner

##### Download the latest runner package
curl -O -L https://github.com/actions/runner/releases/download/v2.318.0/actions-runner-linux-x64-2.318.0.tar.gz

##### Extract the installer
tar xzf ./actions-runner-linux-x64-2.318.0.tar.gz
```

##### Linux arm64

```bash

##### Create a folder
mkdir actions-runner && cd actions-runner

##### Download the latest runner package
curl -O -L https://github.com/actions/runner/releases/download/v2.318.0/actions-runner-linux-arm64-2.318.0.tar.gz

##### Extract the installer
tar xzf ./actions-runner-linux-arm64-2.318.0.tar.gz
```

##### Linux arm

```bash

##### Create a folder
mkdir actions-runner && cd actions-runner

##### Download the latest runner package
curl -O -L https://github.com/actions/runner/releases/download/v2.318.0/actions-runner-linux-arm-2.318.0.tar.gz

##### Extract the installer
tar xzf ./actions-runner-linux-arm-2.318.0.tar.gz
```

##### Using your self hosted runner

For additional details about configuring, running, or shutting down the
runner please check out our [product
docs.](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/adding-self-hosted-runners)

##### SHA-256 Checksums

The SHA-256 checksums for the packages included in this build are shown
below:

- actions-runner-win-x64-2.318.0.zip <!-- BEGIN SHA win-x64
-->35e41033097bda057333718fd0a923650c505ed214437f89328b6c07dc25b45d<!--
END SHA win-x64 -->
- actions-runner-win-arm64-2.318.0.zip <!-- BEGIN SHA win-arm64
-->56263cd9002c4b38d649cd6772cc5873e6df1c537c58af58b72cd7a5873b4ae3<!--
END SHA win-arm64 -->
- actions-runner-osx-x64-2.318.0.tar.gz <!-- BEGIN SHA osx-x64
-->d5d5ae1138595063958ceb6141bb30fdfb63afe6a9859dee29f0fa56474bd386<!--
END SHA osx-x64 -->
- actions-runner-osx-arm64-2.318.0.tar.gz <!-- BEGIN SHA osx-arm64
-->52c8b7200587e0d461e61657a20db2b798ef3c88e41ff1ee435b770cd648b41e<!--
END SHA osx-arm64 -->
- actions-runner-linux-x64-2.318.0.tar.gz <!-- BEGIN SHA linux-x64
-->28ed88e4cedf0fc93201a901e392a70463dbd0213f2ce9d57a4ab495027f3e2f<!--
END SHA linux-x64 -->
- actions-runner-linux-arm64-2.318.0.tar.gz <!-- BEGIN SHA linux-arm64
-->c4d03f1fdfc74e4e29cc403917be2bb24a714740bd250401fba5a4670e2c6070<!--
END SHA linux-arm64 -->
- actions-runner-linux-arm-2.318.0.tar.gz <!-- BEGIN SHA linux-arm
-->34e95530fc31c3678ead5a423414103fdf7513ed245268e6e741c94c55e653a1<!--
END SHA linux-arm -->

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44LjAiLCJ1cGRhdGVkSW5WZXIiOiIzOC44LjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvbWlub3IiXX0=-->

Co-authored-by: lumiere-bot[bot] <98047013+lumiere-bot[bot]@users.noreply.github.com>
spiceratops referenced this pull request in spiceratops/k8s-gitops Jul 28, 2024
…8.0 (#872)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[ghcr.io/onedr0p/actions-runner](https://ghcr.io/onedr0p/actions-runner)
([source](https://togithub.com/actions/runner)) | minor | `2.317.0` ->
`2.318.0` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>actions/runner (ghcr.io/onedr0p/actions-runner)</summary>

###
[`v2.318.0`](https://togithub.com/actions/runner/releases/tag/v2.318.0)

[Compare
Source](https://togithub.com/actions/runner/compare/v2.317.0...v2.318.0)

##### What's Changed

- Update Docker to v27.1.1 by
[@&#8203;TingluoHuang](https://togithub.com/TingluoHuang) in
[https://github.com/actions/runner/pull/3401](https://togithub.com/actions/runner/pull/3401)
- Upgrade dotnet sdk to v8.0.303 in
[https://github.com/actions/runner/pull/3388](https://togithub.com/actions/runner/pull/3388)
- Rephrase node20 warning by
[@&#8203;rentziass](https://togithub.com/rentziass) in
[https://github.com/actions/runner/pull/3376](https://togithub.com/actions/runner/pull/3376)
- Bump hook version to 0.6.1 by
[@&#8203;nikola-jokic](https://togithub.com/nikola-jokic) in
[https://github.com/actions/runner/pull/3350](https://togithub.com/actions/runner/pull/3350)
- Backoff to avoid excessive retries to Run Service in a duration by
[@&#8203;ericsciple](https://togithub.com/ericsciple) in
[https://github.com/actions/runner/pull/3354](https://togithub.com/actions/runner/pull/3354)
- Bump System.Security.Cryptography.Pkcs from 5.0.0 to 8.0.0 in /src in
[https://github.com/actions/runner/pull/3347](https://togithub.com/actions/runner/pull/3347)
- Upgrade dotnet sdk to v8.0.302 in
[https://github.com/actions/runner/pull/3346](https://togithub.com/actions/runner/pull/3346)
- Bump runner to dotnet 8 by
[@&#8203;TingluoHuang](https://togithub.com/TingluoHuang) in
[https://github.com/actions/runner/pull/3345](https://togithub.com/actions/runner/pull/3345)
- Pass runner version as environment variable in workflow by
[@&#8203;joshmgross](https://togithub.com/joshmgross) in
[https://github.com/actions/runner/pull/3318](https://togithub.com/actions/runner/pull/3318)
- Make sure we mask secrets when reporting telemetry by
[@&#8203;TingluoHuang](https://togithub.com/TingluoHuang) in
[https://github.com/actions/runner/pull/3315](https://togithub.com/actions/runner/pull/3315)
- Bump docker version and docker buildx version by
[@&#8203;int128](https://togithub.com/int128) in
[https://github.com/actions/runner/pull/3277](https://togithub.com/actions/runner/pull/3277)

**Full Changelog**:
actions/runner@v2.317.0...v2.318.0

*Note: Actions Runner follows a progressive release policy, so the
latest release might not be available to your enterprise, organization,
or repository yet.
To confirm which version of the Actions Runner you should expect, please
view the download instructions for your enterprise, organization, or
repository.
See
https://docs.github.com/en/enterprise-cloud@latest/actions/hosting-your-own-runners/adding-self-hosted-runners*

##### Windows x64

We recommend configuring the runner in a root folder of the Windows
drive (e.g. "C:\actions-runner"). This will help avoid issues related to
service identity folder permissions and long file path restrictions on
Windows.

The following snipped needs to be run on `powershell`:

```powershell

##### Create a folder under the drive root
mkdir \actions-runner ; cd \actions-runner

##### Download the latest runner package
Invoke-WebRequest -Uri https://github.com/actions/runner/releases/download/v2.318.0/actions-runner-win-x64-2.318.0.zip -OutFile actions-runner-win-x64-2.318.0.zip

##### Extract the installer
Add-Type -AssemblyName System.IO.Compression.FileSystem ;
[System.IO.Compression.ZipFile]::ExtractToDirectory("$PWD\actions-runner-win-x64-2.318.0.zip", "$PWD")
```

##### \[Pre-release] Windows arm64

**Warning:** Windows arm64 runners are currently in preview status and
use [unofficial versions of
nodejs](https://unofficial-builds.nodejs.org/). They are not intended
for production workflows.

We recommend configuring the runner in a root folder of the Windows
drive (e.g. "C:\actions-runner"). This will help avoid issues related to
service identity folder permissions and long file path restrictions on
Windows.

The following snipped needs to be run on `powershell`:

```powershell

##### Create a folder under the drive root
mkdir \actions-runner ; cd \actions-runner

##### Download the latest runner package
Invoke-WebRequest -Uri https://github.com/actions/runner/releases/download/v2.318.0/actions-runner-win-arm64-2.318.0.zip -OutFile actions-runner-win-arm64-2.318.0.zip

##### Extract the installer
Add-Type -AssemblyName System.IO.Compression.FileSystem ;
[System.IO.Compression.ZipFile]::ExtractToDirectory("$PWD\actions-runner-win-arm64-2.318.0.zip", "$PWD")
```

##### OSX x64

```bash

##### Create a folder
mkdir actions-runner && cd actions-runner

##### Download the latest runner package
curl -O -L https://github.com/actions/runner/releases/download/v2.318.0/actions-runner-osx-x64-2.318.0.tar.gz

##### Extract the installer
tar xzf ./actions-runner-osx-x64-2.318.0.tar.gz
```

##### OSX arm64 (Apple silicon)

```bash

##### Create a folder
mkdir actions-runner && cd actions-runner

##### Download the latest runner package
curl -O -L https://github.com/actions/runner/releases/download/v2.318.0/actions-runner-osx-arm64-2.318.0.tar.gz

##### Extract the installer
tar xzf ./actions-runner-osx-arm64-2.318.0.tar.gz
```

##### Linux x64

```bash

##### Create a folder
mkdir actions-runner && cd actions-runner

##### Download the latest runner package
curl -O -L https://github.com/actions/runner/releases/download/v2.318.0/actions-runner-linux-x64-2.318.0.tar.gz

##### Extract the installer
tar xzf ./actions-runner-linux-x64-2.318.0.tar.gz
```

##### Linux arm64

```bash

##### Create a folder
mkdir actions-runner && cd actions-runner

##### Download the latest runner package
curl -O -L https://github.com/actions/runner/releases/download/v2.318.0/actions-runner-linux-arm64-2.318.0.tar.gz

##### Extract the installer
tar xzf ./actions-runner-linux-arm64-2.318.0.tar.gz
```

##### Linux arm

```bash

##### Create a folder
mkdir actions-runner && cd actions-runner

##### Download the latest runner package
curl -O -L https://github.com/actions/runner/releases/download/v2.318.0/actions-runner-linux-arm-2.318.0.tar.gz

##### Extract the installer
tar xzf ./actions-runner-linux-arm-2.318.0.tar.gz
```

##### Using your self hosted runner

For additional details about configuring, running, or shutting down the
runner please check out our [product
docs.](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/adding-self-hosted-runners)

##### SHA-256 Checksums

The SHA-256 checksums for the packages included in this build are shown
below:

- actions-runner-win-x64-2.318.0.zip <!-- BEGIN SHA win-x64
-->35e41033097bda057333718fd0a923650c505ed214437f89328b6c07dc25b45d<!--
END SHA win-x64 -->
- actions-runner-win-arm64-2.318.0.zip <!-- BEGIN SHA win-arm64
-->56263cd9002c4b38d649cd6772cc5873e6df1c537c58af58b72cd7a5873b4ae3<!--
END SHA win-arm64 -->
- actions-runner-osx-x64-2.318.0.tar.gz <!-- BEGIN SHA osx-x64
-->d5d5ae1138595063958ceb6141bb30fdfb63afe6a9859dee29f0fa56474bd386<!--
END SHA osx-x64 -->
- actions-runner-osx-arm64-2.318.0.tar.gz <!-- BEGIN SHA osx-arm64
-->52c8b7200587e0d461e61657a20db2b798ef3c88e41ff1ee435b770cd648b41e<!--
END SHA osx-arm64 -->
- actions-runner-linux-x64-2.318.0.tar.gz <!-- BEGIN SHA linux-x64
-->28ed88e4cedf0fc93201a901e392a70463dbd0213f2ce9d57a4ab495027f3e2f<!--
END SHA linux-x64 -->
- actions-runner-linux-arm64-2.318.0.tar.gz <!-- BEGIN SHA linux-arm64
-->c4d03f1fdfc74e4e29cc403917be2bb24a714740bd250401fba5a4670e2c6070<!--
END SHA linux-arm64 -->
- actions-runner-linux-arm-2.318.0.tar.gz <!-- BEGIN SHA linux-arm
-->34e95530fc31c3678ead5a423414103fdf7513ed245268e6e741c94c55e653a1<!--
END SHA linux-arm -->

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44LjAiLCJ1cGRhdGVkSW5WZXIiOiIzOC44LjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvbWlub3IiXX0=-->
fmartinez255 pushed a commit to TiVo/actions-runner that referenced this pull request Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants