Skip to content

Commit

Permalink
fix(release workflows): remove permission for test workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
AsifNawaz-cnic committed Apr 5, 2024
1 parent 94c4b13 commit e57c28b
Show file tree
Hide file tree
Showing 13 changed files with 2 additions and 26 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/blesta-ispapi-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ jobs:
tests:
uses: ./.github/workflows/blesta-ispapi-test.yml
secrets: inherit
permissions:
contents: read

release:
name: Release Job
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/go-sdk-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/ispapicli-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ jobs:
tests:
uses: ./.github/workflows/ispapicli-test.yml
secrets: inherit
permissions:
contents: read

generate-linux-bin:
permissions:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/java-sdk-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/node-sdk-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/perl-sdk-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/php-idna-translator-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/php-sdk-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/python-sdk-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/semantic-release-replace-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/semantic-release-whmcs-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ jobs:
tests:
uses: ./.github/workflows/semantic-release-whmcs-test.yml
secrets: inherit
permissions:
contents: read


release:
name: Release
needs: tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/semantic-release-whmcs-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ jobs:
secrets: inherit
permissions:
contents: write
pull-requests: write
pull-requests: write

0 comments on commit e57c28b

Please sign in to comment.