Skip to content

Create DetectCSPReportOnlyHeader.bambda #215

Create DetectCSPReportOnlyHeader.bambda

Create DetectCSPReportOnlyHeader.bambda #215

name: Run Bambda Checker on Pull Request
on:
pull_request:
types: [opened, reopened, edited, synchronize]
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
- uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'oracle'
- name: Validate Bambdas
run: |
[ $(sha256sum BambdaChecker-1.3.jar | awk '{ print $1 }') = '4df32c3375dad2563080fdfb19a85970332ee8c0f635f946e7e5b4994f6442e4' ]
java -jar BambdaChecker-1.3.jar validateonly