The Open Source DocuSign Alternative.
TypeScript digital-signaturedocument-signingdocusign-alternativee-signatureesignesignaturenext-authnextjsopen-sourcepades-standardpdfpdf-signpdf-signaturepostgresqlprismaself-hostedsigningtypescript
chore: updated workflow permissions and run conditions
Adithya Krishnaf181099e7427
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex fa29ae591..7e940d1b3 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -16,6 +16,7 @@ env:jobs:build_app:name: Build App+ if: github.repository == 'documenso/documenso'runs-on: ubuntu-lateststeps:- name: Checkoutdiff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.ymlindex d47c37a00..281cc432c 100644--- a/.github/workflows/codeql-analysis.yml+++ b/.github/workflows/codeql-analysis.yml@@ -9,6 +9,7 @@ on:jobs:analyze:+ if: github.repository == 'documenso/documenso'name: Analyzeruns-on: ubuntu-latestpermissions:diff --git a/.github/workflows/first-interaction.yml b/.github/workflows/first-interaction.ymlindex 2f488dd9c..2f6f59e4a 100644--- a/.github/workflows/first-interaction.yml+++ b/.github/workflows/first-interaction.yml@@ -13,9 +13,9 @@ permissions:jobs:welcome-message:name: Welcome Contributors+ if: github.repository == 'documenso/documenso' && github.event.action == 'opened'runs-on: ubuntu-latesttimeout-minutes: 10- if: github.event.action == 'opened'steps:- uses: actions/first-interaction@v1with:diff --git a/.github/workflows/issue-count.yml b/.github/workflows/issue-count.ymlindex ceb4ffabc..cab8676c4 100644--- a/.github/workflows/issue-count.yml+++ b/.github/workflows/issue-count.yml@@ -10,7 +10,7 @@ permissions:jobs:countIssues:- if: ${{ !github.event.issue.pull_request }}+ if: ${{ !github.event.issue.pull_request }} && github.repository == 'documenso/documenso' && github.event.comment.author_association == 'MEMBER' || 'COLLABORATOR' || 'OWNER'runs-on: ubuntu-latestenv:MY_ENV_VARIABLE: ${{ secrets.GITHUB_TOKEN }}diff --git a/.github/workflows/pr-count.yml b/.github/workflows/pr-count.ymlindex 673ac65e8..8c4904945 100644--- a/.github/workflows/pr-count.yml+++ b/.github/workflows/pr-count.yml@@ -6,11 +6,11 @@ on:types: [created]permissions:- pull-requests: write+ pull-requests: writejobs:countPRs:- if: ${{ github.event.issue.pull_request }}+ if: ${{ github.event.issue.pull_request }} && github.repository == 'documenso/documenso' && github.event.comment.author_association == 'MEMBER' || 'COLLABORATOR' || 'OWNER'runs-on: ubuntu-latestenv:MY_ENV_VARIABLE: ${{ secrets.GITHUB_TOKEN }}diff --git a/.github/workflows/pr-labeler.yml b/.github/workflows/pr-labeler.ymlindex e7873f1db..e968a028e 100644--- a/.github/workflows/pr-labeler.yml+++ b/.github/workflows/pr-labeler.yml@@ -9,6 +9,7 @@ concurrency:jobs:labeler:+ if: github.repository == 'documenso/documenso'permissions:contents: readpull-requests: writediff --git a/.github/workflows/semantic-pull-requests.yml b/.github/workflows/semantic-pull-requests.ymlindex ef0a87542..08d3739fc 100644--- a/.github/workflows/semantic-pull-requests.yml+++ b/.github/workflows/semantic-pull-requests.yml@@ -13,6 +13,7 @@ permissions:jobs:validate-pr:+ if: github.repository == 'documenso/documenso'name: Validate PR titleruns-on: ubuntu-lateststeps:diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.ymlindex 827c32a06..1fe91e9ab 100644--- a/.github/workflows/stale.yml+++ b/.github/workflows/stale.yml@@ -6,7 +6,7 @@ on:jobs:stale:-+ if: github.repository == 'documenso/documenso'runs-on: ubuntu-latestpermissions:issues: write