Skip to content

Create Detect403Forbidden.bambda #65

Create Detect403Forbidden.bambda

Create Detect403Forbidden.bambda #65

name: Run Bambda Checker on Merge
on:
pull_request:
types:
- closed
branches:
- main
jobs:
update_readmes:
if: github.event.pull_request.merged
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: main
ssh-key: ${{secrets.ACTION_PRIVKEY}}
- uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'oracle'
- name: Validate Bambdas & update READMEs
run: |
[ $(sha256sum BambdaChecker-1.3.jar | awk '{ print $1 }') = '4df32c3375dad2563080fdfb19a85970332ee8c0f635f946e7e5b4994f6442e4' ]
java -jar BambdaChecker-1.3.jar
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add .
git commit -m "Update README.md files" || true
git push || true