Skip to content

Commit f925f74

Browse files
committed
debug
1 parent ef15042 commit f925f74

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,12 +137,18 @@ jobs:
137137
- id: diff
138138
env:
139139
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
140+
GH_PR_NUM: ${{ github.event.number }}
140141
run: |
141-
if gh pr diff --name-only | grep -e .github/workflows -e .github/actions >/dev/null 2>&1; then
142+
if gh pr diff --name-only --repo $GITHUB_REPOSITORY $GH_PR_NUM | grep -q -e .github/workflows -e .github/actions; then
142143
echo "Worflow changes detected"
143144
echo "actions-changed=true" >> "$GITHUB_OUTPUT"
144145
fi
145146
147+
- id: fail
148+
run: |
149+
echo "REMOVE TO MERGE"
150+
exit 1
151+
146152
notify-draft-services:
147153
name: 🚀 Notify external services - draft
148154
runs-on: ubuntu-24.04-arm

0 commit comments

Comments
 (0)