Fix CLA Signature bot workflow (#11250)

In a recent PR (#11240) the workflow was updated to explicitly add the
required permissions. Unfortunately the "pull-requests" permission was
added with a space instead of a dash, which apparently breaks the
workflow. It now has a dash, as shown in the example in the docs [1].

[1]: https://docs.github.com/en/actions/reference/authentication-in-a-workflow#example-1-passing-the-github_token-as-an-input
feature/default_network_editable
Mark Stacey 4 years ago committed by GitHub
parent a58c66af1f
commit fae857d1c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/workflows/cla.yml

@ -10,7 +10,7 @@ jobs:
if: github.event_name == 'pull_request_target' || contains(github.event.comment.html_url, '/pull/')
runs-on: ubuntu-latest
permissions:
pull requests: write
pull-requests: write
contents: write
steps:
- name: "CLA Signature Bot"

Loading…
Cancel
Save