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 099a76c
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:

- name: Wait for build workflow
uses: ArcticLampyrid/[email protected]
with:
workflow: pr.yml
sha: ${{ github.sha }}

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

0 comments on commit 099a76c

Please sign in to comment.