From e1c53372b88c03ac907559249ca4d09d02b1d503 Mon Sep 17 00:00:00 2001 From: Tom Augspurger Date: Fri, 31 May 2024 09:25:32 -0500 Subject: [PATCH] Fixed publish function package workflow (#297) https://github.com/microsoft/planetary-computer-tasks/actions/runs/9116458197 Similar to https://github.com/microsoft/planetary-computer-tasks/pull/293. --- .github/workflows/publish-func-package-dev.yml | 2 ++ .github/workflows/publish-func-package.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/publish-func-package-dev.yml b/.github/workflows/publish-func-package-dev.yml index 325a952e..c1d6660c 100644 --- a/.github/workflows/publish-func-package-dev.yml +++ b/.github/workflows/publish-func-package-dev.yml @@ -12,6 +12,8 @@ defaults: jobs: publish: runs-on: ubuntu-20.04 + permissions: + contents: write steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/publish-func-package.yml b/.github/workflows/publish-func-package.yml index 5fecc072..8b78dbae 100644 --- a/.github/workflows/publish-func-package.yml +++ b/.github/workflows/publish-func-package.yml @@ -12,6 +12,8 @@ defaults: jobs: publish: runs-on: ubuntu-20.04 + permissions: + contents: write steps: - uses: actions/checkout@v2