Skip to content

Commit ea09553

Browse files
committed
chore: update GitHub Actions workflows by removing unused environment settings and adjusting permissions for pull requests
1 parent b6128c0 commit ea09553

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

‎.github/workflows/pages-build-site.yml‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ concurrency:
1616

1717
jobs:
1818
deploy:
19-
environment:
20-
name: github-pages
21-
url: ${{ steps.deployment.outputs.page_url }}
2219
runs-on: ubuntu-latest
2320
steps:
2421
- name: Checkout

‎.github/workflows/semantic-pull-request.yml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
- edited
88
- synchronize
99

10+
permissions:
11+
pull-requests: read
12+
contents: read
13+
1014
jobs:
1115
main:
1216
if: github.repository == 'ranuts/document'
@@ -16,4 +20,4 @@ jobs:
1620
- name: Validate PR title
1721
uses: amannn/action-semantic-pull-request@v6
1822
env:
19-
GITHUB_TOKEN: ${{ secrets.WEREAD_DEPLOY_KEY }}
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)