From 43398d7b6857c9599dfcb86cc50c79d524fe7463 Mon Sep 17 00:00:00 2001 From: Anuraag Agrawal Date: Mon, 3 Oct 2022 11:07:18 +0900 Subject: [PATCH] Add packages write access for ghcr.io push (#17) --- .github/workflows/buildtools-tinygo.yaml | 3 +++ .github/workflows/buildtools-wasi-sdk.yaml | 3 +++ .github/workflows/ci.yaml | 3 +++ 3 files changed, 9 insertions(+) diff --git a/.github/workflows/buildtools-tinygo.yaml b/.github/workflows/buildtools-tinygo.yaml index 642a992fd067f..5447fdc08f389 100644 --- a/.github/workflows/buildtools-tinygo.yaml +++ b/.github/workflows/buildtools-tinygo.yaml @@ -16,6 +16,9 @@ on: jobs: build: runs-on: ubuntu-22.04 + permissions: + contents: read + packages: write steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/buildtools-wasi-sdk.yaml b/.github/workflows/buildtools-wasi-sdk.yaml index 36c03628be745..55126bfbe351d 100644 --- a/.github/workflows/buildtools-wasi-sdk.yaml +++ b/.github/workflows/buildtools-wasi-sdk.yaml @@ -16,6 +16,9 @@ on: jobs: build: runs-on: ubuntu-22.04 + permissions: + contents: read + packages: write steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 74a9104cd6fc5..0282ec266810d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -17,6 +17,9 @@ env: jobs: build: runs-on: ubuntu-22.04 + permissions: + contents: read + packages: write steps: - name: Check out code uses: actions/checkout@v3