Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create workflow for triggering BambdaChecker manually #25

Merged
merged 1 commit into from
Dec 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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