diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..e180032a --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,2 @@ +version: 2 +updates: [] diff --git a/.github/workflows/security-ci.yml b/.github/workflows/security-ci.yml new file mode 100644 index 00000000..208def6d --- /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: "8.3" + 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"