From 8f3e2d26d3754921460ce583b6becb4dd1f3d92a Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Sat, 16 Dec 2023 13:57:43 +0000 Subject: [PATCH] ci: allow workflows to read and write packages Our CI workflows consume and will automatically generate their build containers. Ensure that they can do so. --- .github/workflows/benchmark.yml | 7 ++++--- .github/workflows/main.yml | 1 + .github/workflows/nightly.yml | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index cc231b462ec..7705d89e97a 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -10,9 +10,10 @@ permissions: contents: read jobs: - # Run our nightly builds. We build a matrix with the various build - # targets and their details. Then we build either in a docker container - # (Linux) or on the actual hosts (macOS, Windows). + # Run our benchmarks. We build a matrix with the various build + # targets and their details. Unlike our CI builds, we run these + # directly on the VM instead of in containers since we do not + # need the breadth of platform diversity. build: # Only run scheduled workflows on the main repository; prevents people # from using build minutes on their forks. diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3de084b8d41..f341a9cd274 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,6 +15,7 @@ env: permissions: contents: read + packages: write jobs: containers: diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index ae55b36c071..b48cbf51260 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -12,6 +12,7 @@ env: permissions: contents: read + packages: write jobs: # Run our nightly builds. We build a matrix with the various build