Skip to content

Commit

Permalink
Merge pull request #25 from PortSwigger/manual-bambda-checker
Browse files Browse the repository at this point in the history
Create workflow for triggering BambdaChecker manually
  • Loading branch information
PortSwiggerWiener authored Dec 5, 2023
2 parents 0dbc93f + abb2cfe commit 057b6b3
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/bambda-checker-manual.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Run Bambda Checker Manually

on: [workflow_dispatch]

jobs:
update_readmes:
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.1.jar | awk '{ print $1 }') = '21805c494ccea16158081855326810e3715034900a1cd18d9e2b9ab7f108de57' ]
java -jar BambdaChecker-1.1.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

0 comments on commit 057b6b3

Please sign in to comment.