Skip to content

Speakr is a personal, self-hosted web application designed for transcribing audio recordings

Python

Update CLA workflow to v2.6.1, fix permissions

Murtaza Nasir14f67155a2d5
diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml
index 960bc781..db5199b5 100644
--- a/.github/workflows/cla.yml
+++ b/.github/workflows/cla.yml
@@ -6,6 +6,7 @@ on:
types: [opened, closed, synchronize]
permissions:
+ actions: write
contents: write
pull-requests: write
statuses: write
@@ -16,21 +17,14 @@ jobs:
steps:
- name: "CLA Assistant"
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
- uses: contributor-assistant/[email protected]
+ uses: contributor-assistant/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- # The path to your CLA document
- PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
with:
path-to-signatures: '.github/signatures/cla.json'
path-to-document: 'https://github.com/murtaza-nasir/speakr/blob/master/CLA.md'
- # Branch where signatures will be stored
branch: 'cla-signatures'
allowlist: 'bot*,dependabot*,*[bot]'
-
- # Message shown to contributors
- remote-organization-name: 'murtaza-nasir'
- remote-repository-name: 'speakr'
create-file-commit-message: 'Creating CLA signature file for storing CLA signatures'
signed-commit-message: '$contributorName has signed the CLA in #$pullRequestNo'
custom-notsigned-prcomment: 'Thank you for your contribution! Before we can merge this PR, we need you to sign our Contributor License Agreement (CLA).<br/><br/>Please review the CLA here: [CLA.md](https://github.com/murtaza-nasir/speakr/blob/master/CLA.md)<br/><br/>To sign the CLA, please comment on this PR with:<br/>`I have read the CLA Document and I hereby sign the CLA`<br/><br/>This is a one-time requirement. Once you sign, all your future contributions are covered.'