diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f15e94dc..2a09db48 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -2,6 +2,8 @@ name: CI on: push: + branches: + - main pull_request: branches: - main @@ -12,8 +14,6 @@ concurrency: permissions: contents: read - pages: write - id-token: write jobs: gitleaks: @@ -269,6 +269,9 @@ jobs: deploy-coverage: needs: coverage runs-on: ubuntu-latest + permissions: + pages: write + id-token: write environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} diff --git a/.github/workflows/dry-publish.yaml b/.github/workflows/dry-publish.yaml index d9696d5f..e2e797bd 100644 --- a/.github/workflows/dry-publish.yaml +++ b/.github/workflows/dry-publish.yaml @@ -3,6 +3,8 @@ name: Dry Run Publish Package with pkg.pr.new on: pull_request: push: + branches: + - main jobs: dry-publish: