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 9807486 commit edaede1Copy full SHA for edaede1
.github/workflows/end-to-end-topological-sort-test.yaml
@@ -22,16 +22,15 @@ jobs:
22
with:
23
fetch-depth: 0
24
token: ${{ secrets.GITHUB_TOKEN }}
25
+
26
- name: Validate PR
27
run: |
28
# Check for any workflow changes
29
if git diff --name-only "${{ github.event.pull_request.base.sha }}" "${{ github.sha }}" | grep -q "^.github/workflows/"; then
30
echo "⚠️ Workflow changes detected."
-
31
# Get the PR author
32
AUTHOR="${{ github.event.pull_request.user.login }}"
33
echo "PR Author: $AUTHOR"
34
35
# Allowlist check
36
if [[ "$AUTHOR" == "misrasaurabh1" || "$AUTHOR" == "KRRT7" ]]; then
37
echo "✅ Authorized user ($AUTHOR). Proceeding."
0 commit comments