diff --git a/.github/workflows/build-package.yml b/.github/workflows/build-package.yml index 12c435399..8cd0b85ea 100644 --- a/.github/workflows/build-package.yml +++ b/.github/workflows/build-package.yml @@ -1,17 +1,21 @@ name: Debian Package Build on: pull_request: branches: - sagitta + paths: + - '**' + - '!.github/**' + - '!**/*.md' jobs: package-build: runs-on: ubuntu-latest container: image: vyos/vyos-build:sagitta options: --sysctl net.ipv6.conf.lo.disable_ipv6=0 steps: - name: Checkout uses: actions/checkout@v4 - name: Build Debian package run: dpkg-buildpackage -uc -us -tc -b diff --git a/.github/workflows/check-unused-imports.yml b/.github/workflows/check-unused-imports.yml index 4c1eff794..ec6e835dc 100644 --- a/.github/workflows/check-unused-imports.yml +++ b/.github/workflows/check-unused-imports.yml @@ -1,15 +1,19 @@ name: Check for unused imports using Pylint on: pull_request_target: branches: - sagitta + paths: + - '**' + - '!.github/**' + - '!**/*.md' workflow_dispatch: permissions: pull-requests: write contents: read jobs: check-unused-imports: uses: vyos/.github/.github/workflows/check-unused-imports.yml@sagitta secrets: inherit diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 665cdda01..ebaadac70 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -1,25 +1,33 @@ name: "Perform CodeQL Analysis" on: push: branches: - sagitta + paths: + - '**' + - '!.github/**' + - '!**/*.md' pull_request: # The branches below must be a subset of the branches above branches: - sagitta + paths: + - '**' + - '!.github/**' + - '!**/*.md' schedule: - cron: '22 10 * * 0' workflow_dispatch: permissions: actions: read contents: read security-events: write jobs: codeql-analysis-call: uses: vyos/.github/.github/workflows/codeql-analysis.yml@sagitta secrets: inherit with: languages: "['python']"