aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml11
-rw-r--r--.github/workflows/coverity.yml1
-rw-r--r--.github/workflows/kernel.yml1
-rw-r--r--.github/workflows/label-kernel.yml2
-rw-r--r--.github/workflows/label-target.yml1
-rw-r--r--.github/workflows/packages.yml1
-rw-r--r--.github/workflows/push-containers.yml1
-rw-r--r--.github/workflows/toolchain.yml1
8 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 31da7fa7ab5..7ce8a7c034e 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -136,6 +136,7 @@ jobs:
permissions:
contents: read
packages: read
+ actions: write
steps:
- name: Checkout master directory
@@ -475,6 +476,16 @@ jobs:
name: ${{ inputs.target }}-${{ inputs.subtarget }}-logs
path: "openwrt/logs"
+ - name: Delete already present ccache cache
+ if: steps.restore-ccache-cache.outputs.cache-hit == 'true'
+ uses: octokit/request-action@v2.x
+ with:
+ route: DELETE /repos/{repository}/actions/caches?key={key}
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ INPUT_REPOSITORY: ${{ github.repository }}
+ INPUT_KEY: ${{ steps.restore-ccache-cache.outputs.cache-primary-key }}
+
- name: Save ccache cache
uses: actions/cache/save@v3
with:
diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml
index 10355456321..363ce3a29a3 100644
--- a/.github/workflows/coverity.yml
+++ b/.github/workflows/coverity.yml
@@ -15,6 +15,7 @@ jobs:
permissions:
contents: read
packages: read
+ actions: write
uses: ./.github/workflows/build.yml
with:
container_name: toolchain
diff --git a/.github/workflows/kernel.yml b/.github/workflows/kernel.yml
index 6be7ef28c2f..d9ab8581c9b 100644
--- a/.github/workflows/kernel.yml
+++ b/.github/workflows/kernel.yml
@@ -105,6 +105,7 @@ jobs:
permissions:
contents: read
packages: read
+ actions: write
strategy:
fail-fast: False
matrix:
diff --git a/.github/workflows/label-kernel.yml b/.github/workflows/label-kernel.yml
index 67faaddfcdf..29a9d795588 100644
--- a/.github/workflows/label-kernel.yml
+++ b/.github/workflows/label-kernel.yml
@@ -30,6 +30,7 @@ jobs:
permissions:
contents: read
packages: read
+ actions: write
uses: ./.github/workflows/build.yml
with:
container_name: toolchain
@@ -44,6 +45,7 @@ jobs:
permissions:
contents: read
packages: read
+ actions: write
uses: ./.github/workflows/check-kernel-patches.yml
with:
target: ${{ needs.set_target.outputs.target }}
diff --git a/.github/workflows/label-target.yml b/.github/workflows/label-target.yml
index 78aea28b106..610aab026aa 100644
--- a/.github/workflows/label-target.yml
+++ b/.github/workflows/label-target.yml
@@ -30,6 +30,7 @@ jobs:
permissions:
contents: read
packages: read
+ actions: write
uses: ./.github/workflows/build.yml
with:
container_name: toolchain
diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml
index d4d3565cd70..8ab07f1f073 100644
--- a/.github/workflows/packages.yml
+++ b/.github/workflows/packages.yml
@@ -35,6 +35,7 @@ jobs:
permissions:
contents: read
packages: read
+ actions: write
strategy:
fail-fast: False
matrix:
diff --git a/.github/workflows/push-containers.yml b/.github/workflows/push-containers.yml
index eb6ffd30c1e..1678c5ad4fe 100644
--- a/.github/workflows/push-containers.yml
+++ b/.github/workflows/push-containers.yml
@@ -153,6 +153,7 @@ jobs:
permissions:
contents: read
packages: read
+ actions: write
strategy:
fail-fast: False
matrix:
diff --git a/.github/workflows/toolchain.yml b/.github/workflows/toolchain.yml
index 54e31069e6f..4f4d78f4f8a 100644
--- a/.github/workflows/toolchain.yml
+++ b/.github/workflows/toolchain.yml
@@ -61,6 +61,7 @@ jobs:
permissions:
contents: read
packages: read
+ actions: write
strategy:
fail-fast: False
matrix: