diff --git a/.github/workflows/GHPages.yml b/.github/workflows/GHPages.yml index d002776e9..d5a3e2893 100644 --- a/.github/workflows/GHPages.yml +++ b/.github/workflows/GHPages.yml @@ -18,6 +18,7 @@ concurrency: jobs: deploy: + if: github.repository == 'sveltejs/eslint-plugin-svelte' environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} diff --git a/.github/workflows/pkg.pr.new.yml b/.github/workflows/pkg.pr.new.yml index 2361397b8..c6037997f 100644 --- a/.github/workflows/pkg.pr.new.yml +++ b/.github/workflows/pkg.pr.new.yml @@ -6,8 +6,13 @@ on: branches: [main] tags: ['!**'] +permissions: + issues: write + pull-requests: write + jobs: build: + if: github.repository == 'sveltejs/eslint-plugin-svelte' runs-on: ubuntu-latest steps: