We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d702cb commit a9e6a78Copy full SHA for a9e6a78
.github/workflows/debug.yml
@@ -6,9 +6,24 @@ on:
6
pull_request:
7
8
jobs:
9
- check:
+ turbo-check:
10
runs-on: ubuntu-latest
11
steps:
12
+ - uses: jwalton/gh-find-current-pr@master
13
+ id: findPr
14
+
15
+ - name: Debug PR info
16
+ run: |
17
+ echo "PR exists: ${{ steps.findPr.outputs.number != '' }}"
18
+ echo "PR number: ${{ steps.findPr.outputs.number }}"
19
20
+ - name: Check and exit if condition
21
+ if: github.event_name == 'push' && steps.findPr.outputs.number != ''
22
+ shell: bash
23
24
+ echo "Push event but commit is part of a Pull Request. Exiting..."
25
+ exit 0
26
27
- uses: actions/checkout@v4
28
29
- uses: ./.github/actions/check-turbo-changes
0 commit comments