diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 9ce167f26a..162a191936 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -2,7 +2,7 @@ name: Build and verify on: pull_request: push: - branches: [$default-branch] + branches: [ master ] permissions: contents: read jobs: diff --git a/.github/workflows/deploy-website.yaml b/.github/workflows/deploy-website.yaml index 6582744284..d4a96cb354 100644 --- a/.github/workflows/deploy-website.yaml +++ b/.github/workflows/deploy-website.yaml @@ -2,7 +2,7 @@ name: Update `error-prone.picnic.tech` website content on: pull_request: push: - branches: [$default-branch] + branches: [ master ] permissions: contents: read id-token: write @@ -33,7 +33,7 @@ jobs: - name: Upload website as artifact uses: actions/upload-pages-artifact@v1.0.4 deploy: - if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch) + if: github.ref == 'refs/heads/master' needs: build runs-on: ubuntu-22.04 environment: