diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 3d0bdc21..7ceaf9fe 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -2,7 +2,6 @@ name: Pull request on: pull_request: types: [ opened, reopened, synchronize ] - workflow_dispatch: jobs: build: runs-on: ubuntu-latest diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6cbdec2d..ccfc4601 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,6 @@ jobs: runs-on: ubuntu-latest needs: build permissions: - actions: write contents: write pull-requests: write steps: @@ -56,8 +55,3 @@ jobs: title: Version Release body: | Bumping project version after release. - - name: Run the pull request checks - # Pull requests opened with GITHUB_TOKEN don't trigger workflows, but a workflow_dispatch sent with it does - run: gh workflow run pull-request.yml --ref version-release - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}