From e57c28b4bd91367a2b5ccec7fa5b02b264e39af6 Mon Sep 17 00:00:00 2001 From: Asif Nawaz Date: Fri, 5 Apr 2024 10:18:16 +0100 Subject: [PATCH] fix(release workflows): remove permission for test workflows --- .github/workflows/blesta-ispapi-release.yml | 2 -- .github/workflows/go-sdk-release.yml | 2 -- .../workflows/gulp-release-notification-plugin-release.yml | 2 -- .github/workflows/ispapicli-release.yml | 2 -- .github/workflows/java-sdk-release.yml | 2 -- .github/workflows/node-sdk-release.yml | 2 -- .github/workflows/perl-sdk-release.yml | 2 -- .github/workflows/php-idna-translator-release.yml | 2 -- .github/workflows/php-sdk-release.yml | 2 -- .github/workflows/python-sdk-release.yml | 2 -- .github/workflows/semantic-release-replace-release.yml | 2 -- .github/workflows/semantic-release-whmcs-release.yml | 4 +--- .github/workflows/semantic-release-whmcs-test.yml | 2 +- 13 files changed, 2 insertions(+), 26 deletions(-) diff --git a/.github/workflows/blesta-ispapi-release.yml b/.github/workflows/blesta-ispapi-release.yml index 63fdc4a..764ef49 100644 --- a/.github/workflows/blesta-ispapi-release.yml +++ b/.github/workflows/blesta-ispapi-release.yml @@ -6,8 +6,6 @@ jobs: tests: uses: ./.github/workflows/blesta-ispapi-test.yml secrets: inherit - permissions: - contents: read release: name: Release Job diff --git a/.github/workflows/go-sdk-release.yml b/.github/workflows/go-sdk-release.yml index e9fd33c..45e799d 100644 --- a/.github/workflows/go-sdk-release.yml +++ b/.github/workflows/go-sdk-release.yml @@ -6,8 +6,6 @@ jobs: tests: uses: ./.github/workflows/go-sdk-test.yml secrets: inherit - permissions: - contents: read release: name: Release @ ${{ vars.RTLDEV_MW_CI_OS }} diff --git a/.github/workflows/gulp-release-notification-plugin-release.yml b/.github/workflows/gulp-release-notification-plugin-release.yml index b37f7c8..618dcd9 100644 --- a/.github/workflows/gulp-release-notification-plugin-release.yml +++ b/.github/workflows/gulp-release-notification-plugin-release.yml @@ -6,8 +6,6 @@ jobs: tests: uses: ./.github/workflows/gulp-release-notification-plugin-test.yml secrets: inherit - permissions: - contents: read release: name: Release @ ${{ vars.RTLDEV_MW_CI_OS }} diff --git a/.github/workflows/ispapicli-release.yml b/.github/workflows/ispapicli-release.yml index bfe5295..3ed2d83 100644 --- a/.github/workflows/ispapicli-release.yml +++ b/.github/workflows/ispapicli-release.yml @@ -9,8 +9,6 @@ jobs: tests: uses: ./.github/workflows/ispapicli-test.yml secrets: inherit - permissions: - contents: read generate-linux-bin: permissions: diff --git a/.github/workflows/java-sdk-release.yml b/.github/workflows/java-sdk-release.yml index ef6219e..cc36ce3 100644 --- a/.github/workflows/java-sdk-release.yml +++ b/.github/workflows/java-sdk-release.yml @@ -6,8 +6,6 @@ jobs: tests: uses: ./.github/workflows/java-sdk-test.yml secrets: inherit - permissions: - contents: read release: name: Release @ ${{ vars.RTLDEV_MW_CI_OS }} diff --git a/.github/workflows/node-sdk-release.yml b/.github/workflows/node-sdk-release.yml index 18c1aa6..8d3c8eb 100644 --- a/.github/workflows/node-sdk-release.yml +++ b/.github/workflows/node-sdk-release.yml @@ -6,8 +6,6 @@ jobs: tests: uses: ./.github/workflows/node-sdk-test.yml secrets: inherit - permissions: - contents: read release: name: Release @ ${{ vars.RTLDEV_MW_CI_OS }} diff --git a/.github/workflows/perl-sdk-release.yml b/.github/workflows/perl-sdk-release.yml index f501115..5348abc 100644 --- a/.github/workflows/perl-sdk-release.yml +++ b/.github/workflows/perl-sdk-release.yml @@ -6,8 +6,6 @@ jobs: tests: uses: ./.github/workflows/perl-sdk-test.yml secrets: inherit - permissions: - contents: read release: name: Release @ ${{ vars.RTLDEV_MW_CI_OS }} diff --git a/.github/workflows/php-idna-translator-release.yml b/.github/workflows/php-idna-translator-release.yml index 49d7c88..3b7834e 100644 --- a/.github/workflows/php-idna-translator-release.yml +++ b/.github/workflows/php-idna-translator-release.yml @@ -6,8 +6,6 @@ jobs: tests: uses: ./.github/workflows/php-idna-translator-test.yml secrets: inherit - permissions: - contents: read release: name: Release @ ${{ vars.RTLDEV_MW_CI_OS }} diff --git a/.github/workflows/php-sdk-release.yml b/.github/workflows/php-sdk-release.yml index 6ea7ecf..fe2af92 100644 --- a/.github/workflows/php-sdk-release.yml +++ b/.github/workflows/php-sdk-release.yml @@ -6,8 +6,6 @@ jobs: tests: uses: ./.github/workflows/php-sdk-test.yml secrets: inherit - permissions: - contents: read release: name: Release @ ${{ vars.RTLDEV_MW_CI_OS }} diff --git a/.github/workflows/python-sdk-release.yml b/.github/workflows/python-sdk-release.yml index 3afc4b1..4977680 100644 --- a/.github/workflows/python-sdk-release.yml +++ b/.github/workflows/python-sdk-release.yml @@ -6,8 +6,6 @@ jobs: tests: uses: ./.github/workflows/python-sdk-test.yml secrets: inherit - permissions: - contents: read release: name: Release @ ${{ vars.RTLDEV_MW_CI_OS }} diff --git a/.github/workflows/semantic-release-replace-release.yml b/.github/workflows/semantic-release-replace-release.yml index 349a0ce..b484497 100644 --- a/.github/workflows/semantic-release-replace-release.yml +++ b/.github/workflows/semantic-release-replace-release.yml @@ -6,8 +6,6 @@ jobs: tests: uses: ./.github/workflows/semantic-release-replace-test.yml secrets: inherit - permissions: - contents: read release: name: Release @ ${{ vars.RTLDEV_MW_CI_OS }} diff --git a/.github/workflows/semantic-release-whmcs-release.yml b/.github/workflows/semantic-release-whmcs-release.yml index 5f46d03..14a88e7 100644 --- a/.github/workflows/semantic-release-whmcs-release.yml +++ b/.github/workflows/semantic-release-whmcs-release.yml @@ -6,9 +6,7 @@ jobs: tests: uses: ./.github/workflows/semantic-release-whmcs-test.yml secrets: inherit - permissions: - contents: read - + release: name: Release needs: tests diff --git a/.github/workflows/semantic-release-whmcs-test.yml b/.github/workflows/semantic-release-whmcs-test.yml index abcccf9..bc5f969 100644 --- a/.github/workflows/semantic-release-whmcs-test.yml +++ b/.github/workflows/semantic-release-whmcs-test.yml @@ -68,4 +68,4 @@ jobs: secrets: inherit permissions: contents: write - pull-requests: write + pull-requests: write \ No newline at end of file