🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
Python aiai-scrapingautomationcrawlercrawlingcrawling-pythondatadata-extractionmcpmcp-serverplaywrightpythonscrapingselectorsstealthweb-scraperweb-scrapingweb-scraping-pythonwebscrapingxpath
ci: lock workflows to be triggered by the repo owner alone
Karim shoair1166ce33686e
diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.ymlindex ba4d6e9..2ff127e 100644--- a/.github/workflows/docker-build.yml+++ b/.github/workflows/docker-build.yml@@ -19,7 +19,7 @@ env:jobs:build-and-push:runs-on: ubuntu-latest- if: ${{ github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true }}+ if: ${{ github.event_name == 'workflow_dispatch' || (github.event.pull_request.merged == true && github.event.pull_request.user.login == github.repository_owner) }}permissions:contents: readpackages: writediff --git a/.github/workflows/release-and-publish.yml b/.github/workflows/release-and-publish.ymlindex d435088..d4936ce 100644--- a/.github/workflows/release-and-publish.yml+++ b/.github/workflows/release-and-publish.yml@@ -9,7 +9,7 @@ on:jobs:create-release-and-publish:- if: github.event.pull_request.merged == true+ if: github.event.pull_request.merged == true && github.event.pull_request.user.login == github.repository_ownerruns-on: ubuntu-latestenvironment:name: PyPI