[all-commits] [llvm/llvm-project] 82c225: workflows: Fix permissions for release-sources job...

Tom Stellard via All-commits all-commits at lists.llvm.org
Wed Aug 7 14:19:43 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 82c2259aeb87f5cb418decfb6a1961287055e5d2
      https://github.com/llvm/llvm-project/commit/82c2259aeb87f5cb418decfb6a1961287055e5d2
  Author: Tom Stellard <tstellar at redhat.com>
  Date:   2024-08-07 (Wed, 07 Aug 2024)

  Changed paths:
    M .github/workflows/release-tasks.yml

  Log Message:
  -----------
  workflows: Fix permissions for release-sources job (#100750)

For reusable workflows, the called workflow cannot upgrade it's
permissions, and since the default permission is none, we need to
explicitly declare 'contents: read' when calling the release-sources
workflow.

Fixes the error:
The workflow is requesting 'contents: read', but is only allowed
'contents: none'.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list