diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..173fd1b --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,22 @@ +version: 2 +updates: + - package-ecosystem: "composer" + directory: "/" + schedule: + interval: "weekly" + day: "monday" + time: "05:00" + timezone: "Europe/Amsterdam" + open-pull-requests-limit: 10 + labels: + - "dependencies" + - "automated" + groups: + patch-updates: + applies-to: "version-updates" + update-types: + - "patch" + minor-updates: + applies-to: "version-updates" + update-types: + - "minor" diff --git a/.github/workflows/security-ci.yml b/.github/workflows/security-ci.yml new file mode 100644 index 0000000..1ae0de8 --- /dev/null +++ b/.github/workflows/security-ci.yml @@ -0,0 +1,34 @@ +name: Security CI + +on: + pull_request: + merge_group: + +permissions: + actions: read + contents: read + security-events: write + +jobs: + security: + uses: brainpink/github-workflows/.github/workflows/security-ci.yml@main + permissions: + actions: read + contents: read + security-events: write + with: + php-version: "7.1" + node-version: "22" + secrets: + composer-auth: ${{ secrets.COMPOSER_AUTH }} + + gate: + name: Security CI + if: always() + needs: security + runs-on: ubuntu-latest + steps: + - name: Require the reusable workflow to pass + env: + RESULT: ${{ needs.security.result }} + run: test "$RESULT" = "success"