diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a710394..c92b57b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,8 +1,8 @@ on: push: branches: [ main ] - pull_request_target: - types: [ labeled ] + pull_request: + branches: [ main ] name: deploy @@ -10,9 +10,6 @@ jobs: publish: name: Publish to Cloudflare Pages runs-on: ubuntu-latest - if: | - (github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'ok to test')) || - (github.event_name != 'pull_request_target') permissions: contents: read deployments: write diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index aa3083c..fd71472 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -3,8 +3,8 @@ on: - cron: '0 0 * * *' push: branches: [ main ] - pull_request_target: - types: [ labeled ] + pull_request: + branches: [ main ] name: build @@ -15,9 +15,6 @@ jobs: build: name: Check on ${{ matrix.rust }} runs-on: ubuntu-latest - if: | - (github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'ok to test')) || - (github.event_name != 'pull_request_target') strategy: matrix: rust: