mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-15 08:56:58 +02:00
github: Bump action versions
This updates checkout and create-pull-request action versions to v3 and v4, respectively, to avoid warnings about deprecated node 12.
This commit is contained in:
parent
6f1a2a0cab
commit
76cdd99843
@ -8,7 +8,7 @@ jobs:
|
|||||||
get-containerd-release:
|
get-containerd-release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Fetch latest Containerd release
|
- name: Fetch latest Containerd release
|
||||||
@ -36,7 +36,7 @@ jobs:
|
|||||||
SDK_NAME: ${{ steps.setup-flatcar-sdk.outputs.SDK_NAME }}
|
SDK_NAME: ${{ steps.setup-flatcar-sdk.outputs.SDK_NAME }}
|
||||||
run: .github/workflows/containerd-apply-patch.sh
|
run: .github/workflows/containerd-apply-patch.sh
|
||||||
- name: Create pull request for main
|
- name: Create pull request for main
|
||||||
uses: peter-evans/create-pull-request@v3
|
uses: peter-evans/create-pull-request@v4
|
||||||
if: steps.apply-patch-main.outputs.UPDATE_NEEDED == 1
|
if: steps.apply-patch-main.outputs.UPDATE_NEEDED == 1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
@ -8,7 +8,7 @@ jobs:
|
|||||||
get-docker-release:
|
get-docker-release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Fetch latest Docker release
|
- name: Fetch latest Docker release
|
||||||
@ -40,7 +40,7 @@ jobs:
|
|||||||
SDK_NAME: ${{ steps.setup-flatcar-sdk.outputs.SDK_NAME }}
|
SDK_NAME: ${{ steps.setup-flatcar-sdk.outputs.SDK_NAME }}
|
||||||
run: .github/workflows/docker-apply-patch.sh
|
run: .github/workflows/docker-apply-patch.sh
|
||||||
- name: Create pull request for main
|
- name: Create pull request for main
|
||||||
uses: peter-evans/create-pull-request@v3
|
uses: peter-evans/create-pull-request@v4
|
||||||
if: steps.apply-patch-main.outputs.UPDATE_NEEDED == 1
|
if: steps.apply-patch-main.outputs.UPDATE_NEEDED == 1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
@ -8,7 +8,7 @@ jobs:
|
|||||||
get-firmware-release:
|
get-firmware-release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Fetch latest Linux Firmware release
|
- name: Fetch latest Linux Firmware release
|
||||||
@ -33,7 +33,7 @@ jobs:
|
|||||||
SDK_NAME: ${{ steps.setup-flatcar-sdk.outputs.SDK_NAME }}
|
SDK_NAME: ${{ steps.setup-flatcar-sdk.outputs.SDK_NAME }}
|
||||||
run: .github/workflows/firmware-apply-patch.sh
|
run: .github/workflows/firmware-apply-patch.sh
|
||||||
- name: Create pull request for main
|
- name: Create pull request for main
|
||||||
uses: peter-evans/create-pull-request@v3
|
uses: peter-evans/create-pull-request@v4
|
||||||
if: steps.apply-patch-main.outputs.UPDATE_NEEDED == 1
|
if: steps.apply-patch-main.outputs.UPDATE_NEEDED == 1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
@ -8,7 +8,7 @@ jobs:
|
|||||||
get-go-releases:
|
get-go-releases:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Fetch latest Go releases
|
- name: Fetch latest Go releases
|
||||||
@ -38,7 +38,7 @@ jobs:
|
|||||||
SDK_NAME: ${{ steps.setup-flatcar-sdk.outputs.SDK_NAME }}
|
SDK_NAME: ${{ steps.setup-flatcar-sdk.outputs.SDK_NAME }}
|
||||||
run: .github/workflows/go-apply-patch.sh
|
run: .github/workflows/go-apply-patch.sh
|
||||||
- name: Create pull request for main
|
- name: Create pull request for main
|
||||||
uses: peter-evans/create-pull-request@v3
|
uses: peter-evans/create-pull-request@v4
|
||||||
if: steps.apply-patch-main.outputs.UPDATE_NEEDED == 1
|
if: steps.apply-patch-main.outputs.UPDATE_NEEDED == 1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
@ -9,7 +9,7 @@ jobs:
|
|||||||
mirror-calico:
|
mirror-calico:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: Login to GitHub Container Registry (ghcr)
|
- name: Login to GitHub Container Registry (ghcr)
|
||||||
run: echo ${{ secrets.GHCR_PASSWORD }} | docker login ghcr.io -u ${{ secrets.GHCR_USERNAME }} --password-stdin
|
run: echo ${{ secrets.GHCR_PASSWORD }} | docker login ghcr.io -u ${{ secrets.GHCR_USERNAME }} --password-stdin
|
||||||
- name: Fetch latest Calico release
|
- name: Fetch latest Calico release
|
||||||
|
@ -8,7 +8,7 @@ jobs:
|
|||||||
get-runc-release:
|
get-runc-release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Fetch latest Runc release
|
- name: Fetch latest Runc release
|
||||||
@ -40,7 +40,7 @@ jobs:
|
|||||||
SDK_NAME: ${{ steps.setup-flatcar-sdk.outputs.SDK_NAME }}
|
SDK_NAME: ${{ steps.setup-flatcar-sdk.outputs.SDK_NAME }}
|
||||||
run: .github/workflows/runc-apply-patch.sh
|
run: .github/workflows/runc-apply-patch.sh
|
||||||
- name: Create pull request for main
|
- name: Create pull request for main
|
||||||
uses: peter-evans/create-pull-request@v3
|
uses: peter-evans/create-pull-request@v4
|
||||||
if: steps.apply-patch-main.outputs.UPDATE_NEEDED == 1
|
if: steps.apply-patch-main.outputs.UPDATE_NEEDED == 1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
@ -8,7 +8,7 @@ jobs:
|
|||||||
get-rust-release:
|
get-rust-release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Fetch latest Rust release
|
- name: Fetch latest Rust release
|
||||||
@ -34,7 +34,7 @@ jobs:
|
|||||||
run: .github/workflows/rust-apply-patch.sh
|
run: .github/workflows/rust-apply-patch.sh
|
||||||
- name: Create pull request for main
|
- name: Create pull request for main
|
||||||
id: create-pull-request
|
id: create-pull-request
|
||||||
uses: peter-evans/create-pull-request@v3
|
uses: peter-evans/create-pull-request@v4
|
||||||
if: steps.apply-patch-main.outputs.UPDATE_NEEDED == 1
|
if: steps.apply-patch-main.outputs.UPDATE_NEEDED == 1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
@ -8,7 +8,7 @@ jobs:
|
|||||||
get-vmware-release:
|
get-vmware-release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Fetch latest open-vm-tools release
|
- name: Fetch latest open-vm-tools release
|
||||||
@ -36,7 +36,7 @@ jobs:
|
|||||||
SDK_NAME: ${{ steps.setup-flatcar-sdk.outputs.SDK_NAME }}
|
SDK_NAME: ${{ steps.setup-flatcar-sdk.outputs.SDK_NAME }}
|
||||||
run: .github/workflows/vmware-apply-patch.sh
|
run: .github/workflows/vmware-apply-patch.sh
|
||||||
- name: Create pull request for main
|
- name: Create pull request for main
|
||||||
uses: peter-evans/create-pull-request@v3
|
uses: peter-evans/create-pull-request@v4
|
||||||
if: steps.apply-patch-main.outputs.UPDATE_NEEDED == 1
|
if: steps.apply-patch-main.outputs.UPDATE_NEEDED == 1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
Loading…
Reference in New Issue
Block a user