https://git.reactos.org/?p=reactos.git;a=commitdiff;h=5974982d9cf75b29442ba…
commit 5974982d9cf75b29442badc2ad9873ddd371fea8
Author: Maj Soklič <majs.1236(a)gmail.com>
AuthorDate: Sat Feb 10 00:50:59 2024 +0100
Commit: GitHub <noreply(a)github.com>
CommitDate: Sat Feb 10 02:50:59 2024 +0300
[GITHUB] Update Actions for Node.js 16 deprecation preparation (#5819)
GitHub started to show deprecation warnings for all Node.js 16 based Actions:
https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-…
In order to resolve this:
- build.yml: Update cache to v4
- labeler.yml:
- Remove the now optional 'repo-token' argument
- Add 'sync-labels' to remove non-actual labels on PR updates
- stale.yml: Remove useless issue permission since we don't have issues enabled
---
.github/workflows/build.yml | 4 ++--
.github/workflows/labeler.yml | 2 +-
.github/workflows/stale.yml | 1 -
3 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 207e2641073..6a58c3a7e4b 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -26,7 +26,7 @@ jobs:
wget
https://gist.githubusercontent.com/zefklop/b2d6a0b470c70183e93d5285a03f5899…
- name: Get RosBE
id: get_rosbe
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: RosBE-CI
key:
RosBE-CI-${{runner.os}}-${{steps.get_rosbe_spec.outputs.march-sha}}-${{steps.get_rosbe_spec.outputs.git-sha}}-${{hashfiles('./build_rosbe_ci.sh')}}
@@ -50,7 +50,7 @@ jobs:
with:
path: src
- name: Set up cache for ccache
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: ccache
key:
ccache-${{matrix.compiler}}-${{matrix.arch}}-${{matrix.config}}-${{github.sha}}
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
index 80bba040d0c..f31492a1bcf 100644
--- a/.github/workflows/labeler.yml
+++ b/.github/workflows/labeler.yml
@@ -8,4 +8,4 @@ jobs:
steps:
- uses: actions/labeler@v5
with:
- repo-token: "${{ secrets.GITHUB_TOKEN }}"
+ sync-labels: true
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index 3cdccf733e0..289dfc1d0c7 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -14,7 +14,6 @@ jobs:
runs-on: ubuntu-latest
permissions:
- issues: write
pull-requests: write
steps: