diff --git a/.github/workflows/pages-build-site.yml b/.github/workflows/pages-build-site.yml index f67552c..5381e19 100644 --- a/.github/workflows/pages-build-site.yml +++ b/.github/workflows/pages-build-site.yml @@ -16,9 +16,6 @@ concurrency: jobs: deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest steps: - name: Checkout diff --git a/.github/workflows/semantic-pull-request.yml b/.github/workflows/semantic-pull-request.yml index 225f132..224f5df 100644 --- a/.github/workflows/semantic-pull-request.yml +++ b/.github/workflows/semantic-pull-request.yml @@ -7,6 +7,10 @@ on: - edited - synchronize +permissions: + pull-requests: read + contents: read + jobs: main: if: github.repository == 'ranuts/document' @@ -16,4 +20,4 @@ jobs: - name: Validate PR title uses: amannn/action-semantic-pull-request@v6 env: - GITHUB_TOKEN: ${{ secrets.WEREAD_DEPLOY_KEY }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}