Skip to content

Commit

Permalink
Try this
Browse files Browse the repository at this point in the history
  • Loading branch information
Kidswiss committed Sep 24, 2024
1 parent 0858cf4 commit 0bb8360
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/diff.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
name: Diff
on:
workflow_run:
workflows: ["PR Automation"]
branches: ["*"]
types:
- completed
pull_request: {}

jobs:
render-diff:
runs-on: ubuntu-latest
steps:

- uses: explorium-ai/[email protected]
with:
name: publish-branch-images
token: ${{ secrets.GITHUB_TOKEN }}
sha: ${{ github.event.pull_request.head.sha }} # Must

- name: Extract branch name
shell: bash
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 0bb8360

Please sign in to comment.