Skip to content

Commit d6336e8

Browse files
committed
correction permission to remove pull-request
1 parent c63a3e0 commit d6336e8

3 files changed

Lines changed: 2 additions & 8 deletions

File tree

.github/workflows/deploy-apidocs.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,11 @@ on:
1111
- 'system/**'
1212
- '.github/workflows/deploy-apidocs.yml'
1313

14-
permissions:
15-
contents: write
16-
pull-requests: write
17-
1814
jobs:
1915
build:
2016
name: Deploy to api
17+
permissions:
18+
contents: write
2119
if: github.repository == 'codeigniter4/CodeIgniter4'
2220
runs-on: ubuntu-22.04
2321

.github/workflows/deploy-distributables.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ jobs:
3636
permissions:
3737
# Allow actions/github-script to create release
3838
contents: write
39-
pull-requests: write
4039
if: github.repository == 'codeigniter4/CodeIgniter4'
4140
runs-on: ubuntu-22.04
4241
needs: check-version
@@ -87,7 +86,6 @@ jobs:
8786
permissions:
8887
# Allow actions/github-script to create release
8988
contents: write
90-
pull-requests: write
9189
if: github.repository == 'codeigniter4/CodeIgniter4'
9290
runs-on: ubuntu-22.04
9391
needs: check-version
@@ -138,7 +136,6 @@ jobs:
138136
permissions:
139137
# Allow actions/github-script to create release
140138
contents: write
141-
pull-requests: write
142139
if: github.repository == 'codeigniter4/CodeIgniter4'
143140
runs-on: ubuntu-22.04
144141
needs: check-version

.github/workflows/deploy-userguide-latest.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ jobs:
1818
permissions:
1919
# Allow ad-m/github-push-action to push commit to branch gh-pages
2020
contents: write
21-
pull-requests: write
2221
if: (github.repository == 'codeigniter4/CodeIgniter4')
2322
runs-on: ubuntu-latest
2423
steps:

0 commit comments

Comments
 (0)