Skip to content

Commit

Permalink
Update obidog.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Sygmei committed May 10, 2023
1 parent 29def21 commit 8615746
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/obidog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,24 @@ jobs:
with:
fetch-depth: 0

- name: Checkout PR
env:
GITHUB_TOKEN: ${{ secrets.GHCR_TOKEN }}
run: gh pr checkout ${{ github.event.pull_request.number }}

- run: docker run -e OBENGINE_GIT_DIRECTORY=/obengine -v ${PWD}:/obengine --user $(id -u):$(id -u) ghcr.io/obengine/obidog:1.0.0 bindings
if: steps.check.outputs.triggered == 'true'

- name: Check status
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: git status

- name: Check status
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: 'git add . && git commit -m "chore: regenerated bindings (automated)" && git push'

- uses: actions/github-script@v5
if: steps.check.outputs.triggered == 'true'
with:
Expand Down

0 comments on commit 8615746

Please sign in to comment.